1
0
Fork 0
home-ansible/site.yml

28 lines
506 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: crowdsec
tags: cs
- role: nginx-proxy-manager
tags: npm