From bc4e75b53f63e5c9bfc3ebd6e0c9d653e3af735b Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 30 Aug 2022 07:26:27 -0500 Subject: [PATCH] add lots of roles to playbook --- playbook.yaml | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 1b0cd6d..4f11435 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -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