diff --git a/roles/backup_server/molecule/default/prepare.yml b/roles/backup_server/molecule/default/prepare.yml index d5df27dc533f1e55e4f81dfdc20b703950416bd9..e65b73ad375ca7229b0190091f897584ffc4756e 100644 --- a/roles/backup_server/molecule/default/prepare.yml +++ b/roles/backup_server/molecule/default/prepare.yml @@ -6,7 +6,7 @@ tasks: - name: Fix SSH client file permissions locally, otherwise we get error from SSH - file: + ansible.builtin.file: path: "{{ item }}" mode: g=,o= with_items: @@ -20,9 +20,9 @@ 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