--- - hosts: all become: yes pre_tasks: - name: Update apt-get repo and cache apt: update_cache: yes cache_valid_time: 3600 roles: - role: instance - role: apt - role: firewall - role: administrators - role: ssh - hosts: dns become: yes roles: - role: pihole tags: pihole