aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu.yaml
blob: ff47ffc65634a86e282d9cf63629c497f473307c (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
# 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 python-apt
  apt:
    name: 'python-apt'
    state: 'present'
    update_cache: True
  tags: install-python-apt

- name: Install git
  apt:
    name: 'git'
    state: 'present'
    update_cache: True
  tags: install-git

- name: Install crudini
  apt:
    name: 'crudini'
    state: 'present'
    update_cache: True
  tags: install-crudini

- name: Install expect
  apt:
    name: 'expect'
    state: 'present'
    update_cache: True
  tags: install-expect

- name: Install socat
  apt:
    name: 'socat'
    state: 'present'
    update_cache: True
  tags: install-socat

- name: Install qemu
  apt:
    name: 'qemu-system'
    state: 'present'
    update_cache: True
  tags: install-qemu