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: