diff --git a/roles/bootstrap/molecule/default/prepare.yml b/roles/bootstrap/molecule/default/prepare.yml index 7f1c268a76b571a1cedb0cf1578a7267ac17c11e..834afd2c843bf184ce4c2c515080b15b1ab70f13 100644 --- a/roles/bootstrap/molecule/default/prepare.yml +++ b/roles/bootstrap/molecule/default/prepare.yml @@ -7,11 +7,11 @@ tasks: - name: Install python for Ansible - raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-minimal) + ansible.builtin.raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-minimal) changed_when: false - name: Update all caches to avoid errors due to missing remote archives - apt: + ansible.builtin.apt: update_cache: true changed_when: false @@ -22,7 +22,7 @@ tasks: - name: Deploy authorized_keys to mimic set-up via preseed file - authorized_key: + ansible.posix.authorized_key: user: root key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}" @@ -33,6 +33,6 @@ tasks: - name: Deploy authorized_keys to mimic set-up via preseed file - authorized_key: + ansible.posix.authorized_key: user: root key: "{{ lookup('file', 'tests/data/ansible_key.pub') }}"