diff options
author | 2019-03-14 08:02:56 +0000 | |
---|---|---|
committer | 2019-03-14 08:52:08 +0000 | |
commit | bf3ce71ec5074eb30a866ea8b6e01aad03d58e64 (patch) | |
tree | bd2fbf852a42ac41dd6b9e5df378f2f72474a0e3 /resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml | |
parent | b285fff289f434f0aa988d282a218a9f84e21357 (diff) |
Add PAPI dependencies
+ Various small structure optmizations
Change-Id: I1aac9353f72436de53797fc734bef498905c8189
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml new file mode 100644 index 0000000000..d80eb5edac --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/common/tasks/ubuntu_bionic.yaml @@ -0,0 +1,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 |