aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-12 16:47:35 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-12 16:47:35 +0000
commitcffe3422c31f987eea301fcd79571546f9b9e02d (patch)
tree13e343a36a97e92daf0057bb8e5d8e9efc3a7a5e
parent04855031e0e3a74b98e59167ba5da91e077dab48 (diff)
downloadrules-cffe3422c31f987eea301fcd79571546f9b9e02d.tar.gz
playbooks/site.yml: Add metrics for all machines
-rw-r--r--playbooks/site.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/playbooks/site.yml b/playbooks/site.yml
index af002a6..e34720f 100644
--- a/playbooks/site.yml
+++ b/playbooks/site.yml
@@ -3,6 +3,13 @@
- role: wireguard
tags: role_wireguard
+- hosts: servers
+ roles:
+ - role: sshd
+ tags: role_sshd
+ - role: prometheus
+ tags: role_prometheus
+
- hosts: dc0
roles:
- role: pf
@@ -12,11 +19,6 @@
- role: acme
tags: role_acme
-- hosts: servers
- roles:
- - role: sshd
- tags: role_sshd
-
- hosts: stack0
roles:
- role: nfsd
@@ -27,7 +29,12 @@
- role: nfsclient
tags: role_nfsclient
-- hosts: stack0-dev0
+- hosts: stack0-dc1
+ roles:
+ - role: grafana
+ tags: role_grafana
+
+- hosts: stack0-dev0,stack0-dc1
roles:
- role: cgit
tags: role_cgit
remember that computers suck.