aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml
blob: d80eb5edaca94f7e98ccb7460b35180a61a386a3 (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
---
# file: roles/common/tasks/ubuntu_bionic.yaml

- name: Copy apt sources file
  template:
    src: 'files/apt-sources_{{ ansible_distribution_release }}_{{ ansible_machine }}.list'
    dest: '/etc/apt/sources.list'
  tags: copy-apt-sources

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