--- - hosts: all become: yes pre_tasks: - name: Update apt-get repo and cache apt: update_cache: yes cache_valid_time: 3600 roles: - role: instance tags: instance - role: apt - role: administrators - role: ssh - hosts: dns become: yes roles: - role: pihole tags: pihole - hosts: proxy become: yes roles: - role: docker - role: crowdsec tags: cs - role: nginx-proxy-manager tags: npm