diff options
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: |