aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu.yaml
blob: ae606cd494ec03b5e22f05b6ce5e6980fb59050f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
# file: roles/common/tasks/ubuntu.yaml

- name: Copy aarch64 apt sources file
  template:
    src: 'files/apt-sources-arm.list'
    dest: '/etc/apt/sources.list'
  tags: copy-apt-sources
  when: ansible_machine == 'aarch64'

- name: Copy x86_64 apt sources file
  template:
    src: 'files/apt-sources.list'
    dest: '/etc/apt/sources.list'
  tags: copy-apt-sources
  when: ansible_machine == 'x86_64'

- name: Install CSIT dependencies
  apt:
    name: '{{ item }}'
    state: 'present'
    install_recommends: False
  with_items:
    - 'python-apt'
    - 'python-setuptools'
    - 'git'
    - 'crudini'
    - 'expect'
    - 'socat'
    - 'qemu-system'
  tags: install-csit-dependencies