From 0b7b153fc6a980f2083bdd1321d1c8987c10c420 2021-01-07 06:07:26 From: Branko Majic Date: 2021-01-07 06:07:26 Subject: [PATCH] MAR-160: Move the helper set-up tasks into prepare playbook. --- diff --git a/roles/common/molecule/default/playbook.yml b/roles/common/molecule/default/playbook.yml index 43847a26c525b79ef53fd35f4038cc449513d3eb..abaa3644a74d4a9552d832e5764b3e4bfe9c75ce 100644 --- a/roles/common/molecule/default/playbook.yml +++ b/roles/common/molecule/default/playbook.yml @@ -1,14 +1,5 @@ --- -- hosts: helper - become: true - tasks: - - - name: Install apt-cacher-ng - apt: - name: apt-cacher-ng - state: present - - hosts: parameters-mandatory,parameters-optional become: true roles: diff --git a/roles/common/molecule/default/prepare.yml b/roles/common/molecule/default/prepare.yml index ff42cc369d14f2fc0ef3e8c55da819ccd3d83f5d..48bbb5113065b34d92ae7585cbd50a2da845a49b 100644 --- a/roles/common/molecule/default/prepare.yml +++ b/roles/common/molecule/default/prepare.yml @@ -42,6 +42,15 @@ name: net-tools state: present +- hosts: helper + become: true + tasks: + + - name: Install apt-cacher-ng + apt: + name: apt-cacher-ng + state: present + - hosts: parameters-mandatory,parameters-optional become: true tasks: