ansible/playbook.yaml

78 lines
1.2 KiB
YAML
Raw Normal View History

2020-05-23 21:40:49 +00:00
---
- hosts: all
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- common
- util
- sudo
- hostsfile
- { role: vm_guest, when: "ansible_virtualization_type is defined" }
- grub
- certs
- rsyslog
- users
- network
- dns
- firewall
- openssh
2022-08-30 12:26:27 +00:00
- wireguard
2020-05-23 21:40:49 +00:00
- chrony
- unattended-upgrades
- postfix
- aide
- telegraf
- restic
2022-08-30 12:26:27 +00:00
- node_exporter
- blackbox_exporter
- mtail
- supervisor
2020-05-23 21:40:49 +00:00
- hosts: minecraft_servers
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- minecraft
- hosts: jump_servers
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- go
2022-08-30 12:26:27 +00:00
- dl
2020-05-23 21:40:49 +00:00
- hosts: git_servers
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- nginx
- certbot
- gitea
- hosts: stats_servers
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- nginx
- certbot
- influxdb
- grafana
2022-08-30 12:26:27 +00:00
- hosts: monitor_servers
become: true
roles:
- nginx
- role: prometheus
tags:
- prometheus
- monitoring
- alertmanager
- blackbox_exporter
- pushgateway
- role: karma
tags:
- monitoring
- role: kthxbye
tags:
- monitoring
- role: thanos
tags:
- thanos
- monitoring
2020-05-23 21:40:49 +00:00
- hosts: name_servers
2022-08-30 12:26:27 +00:00
become: true
2020-05-23 21:40:49 +00:00
roles:
- nsd
# vim:ft=yaml.ansible: