diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-03-14 08:02:56 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-03-14 08:52:08 +0000 |
commit | bf3ce71ec5074eb30a866ea8b6e01aad03d58e64 (patch) | |
tree | bd2fbf852a42ac41dd6b9e5df378f2f72474a0e3 /resources/tools/testbed-setup/ansible/roles/tg/tasks | |
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/tg/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml | 5 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu_bionic.yaml (renamed from resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu.yaml) | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml index 9fa19b5b0f..f3f5d85aa1 100644 --- a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml @@ -1,6 +1,5 @@ --- # file: roles/tg/tasks/main.yaml -- name: Ubuntu specific - import_tasks: ubuntu.yaml - when: ansible_distribution|lower == 'ubuntu' +- name: Install distribution - release - machine prerequisites + include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml' diff --git a/resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu.yaml b/resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu_bionic.yaml index acb4f9802e..f60aaeec64 100644 --- a/resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu.yaml +++ b/resources/tools/testbed-setup/ansible/roles/tg/tasks/ubuntu_bionic.yaml @@ -1,5 +1,5 @@ --- -# file: roles/tg/tasks/ubuntu.yaml +# file: roles/tg/tasks/ubuntu_bionic.yaml - name: Install CSIT dependencies apt: |