Compare commits

...

3 Commits

3 changed files with 101 additions and 6 deletions

View File

@ -1,7 +1,72 @@
---
pi:
all:
hosts:
pi:
mine0.kill0.net:
jump0.kill0.net:
localhost:
ansible_connection: local
children:
minecraft_servers:
hosts:
mine0.kill0.net:
jump_servers:
hosts:
jump0.kill0.net
git_servers:
hosts:
jump0.kill0.net
stats_servers:
hosts:
jump0.kill0.net
monitor_servers:
hosts:
jump0.kill0.net
name_servers:
hosts:
jump0.kill0.net
linode:
hosts:
mine0.kill0.net:
jump0.kill0.net:
rabbitmq_servers:
hosts:
rmq1:
ansible_host: 10.100.100.16
rmq2:
ansible_host: 10.100.100.17
rmq3:
ansible_host: 10.100.100.18
k8s_servers:
hosts:
k1:
ansible_host: 10.100.100.32
k2:
ansible_host: 10.100.100.33
k3:
ansible_host: 10.100.100.34
nomad_servers:
hosts:
nomad1:
ansible_host: 172.17.10.48
nomad2:
ansible_host: 172.17.10.49
nomad3:
ansible_host: 172.17.10.50
nomad_clients:
hosts:
worker1:
ansible_host: 172.17.10.51
worker2:
ansible_host: 172.17.10.52
worker3:
ansible_host: 172.17.10.53
worker4:
ansible_host: 172.17.10.54
worker5:
ansible_host: 172.17.10.55
nomad:
children:
nomad_servers:
nomad_clients:
# vim:ft=yaml.ansible:

View File

@ -1,5 +1,6 @@
---
- hosts: all
become: true
roles:
- common
- util
@ -14,34 +15,62 @@
- dns
- firewall
- openssh
- openvpn
- autossh
- spiped
- wireguard
- chrony
- unattended-upgrades
- postfix
- aide
- telegraf
- restic
- node_exporter
- blackbox_exporter
- mtail
- supervisor
- hosts: minecraft_servers
become: true
roles:
- minecraft
- craftbukkit
- hosts: jump_servers
become: true
roles:
- go
- dl
- hosts: git_servers
become: true
roles:
- nginx
- certbot
- gitea
- hosts: stats_servers
become: true
roles:
- nginx
- certbot
- influxdb
- grafana
- 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
- hosts: name_servers
become: true
roles:
- nsd

View File

@ -3,3 +3,4 @@
apt:
update_cache: yes
cache_valid_time: 3600
changed_when: false