diff --git a/roles/database/molecule/default/prepare.yml b/roles/database/molecule/default/prepare.yml index b145f2960193cd8dd188b19042b3bb11de67d069..55f8d9f94a6942db2f8bb2587db498d8fd20c6e7 100644 --- a/roles/database/molecule/default/prepare.yml +++ b/roles/database/molecule/default/prepare.yml @@ -2,24 +2,24 @@ - name: Prepare hosts: all - gather_facts: False + gather_facts: false tasks: - name: Install python for Ansible raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) - become: True - changed_when: False + become: true + changed_when: false - hosts: all - become: yes + become: true tasks: - name: Update all caches to avoid errors due to missing remote archives apt: - update_cache: yes - changed_when: False + update_cache: true + changed_when: false -- hosts: backup - become: yes +- hosts: backup-server + become: true roles: - role: backup_server backup_host_ssh_private_keys: