1
0
Fork 0
home-ansible/site.yml

20 lines
338 B
YAML

---
- 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