1
0
Fork 0
home-ansible/site.yml

27 lines
470 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
tags: instance
- role: apt
- role: administrators
tags: administrators
- role: ssh
- hosts: dns
become: yes
roles:
- role: pihole
tags: pihole
- hosts: proxy
become: yes
roles:
- role: docker
- role: nginx-proxy-manager
tags: npm