Compare commits

..

3 Commits

3 changed files with 101 additions and 6 deletions

View File

@ -1,7 +1,72 @@
--- ---
pi: all:
hosts: hosts:
pi: mine0.kill0.net:
jump0.kill0.net:
localhost:
ansible_connection: local 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: # vim:ft=yaml.ansible:

View File

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

View File

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