diff --git a/roles/web_server/molecule/default/prepare.yml b/roles/web_server/molecule/default/prepare.yml index 3f13685a2cafc390d2cf277574486083eb3471fb..dffe21c6d93ef33aa1ca1236319e311f826b9b26 100644 --- a/roles/web_server/molecule/default/prepare.yml +++ b/roles/web_server/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: all - become: yes + become: true tasks: - name: Set-up the hosts file @@ -39,21 +39,21 @@ - name: Install curl for testing redirects and webpage content apt: name: curl - state: installed + state: present - hosts: client1 - become: yes + become: true tasks: - name: Install tool for testing TCP connectivity apt: name: hping3 - state: installed + state: present - name: Install console-based web browser for interactive testing apt: name: lynx - state: installed + state: present - name: Deploy CA certificate copy: