From cffe3422c31f987eea301fcd79571546f9b9e02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 12 Dec 2021 16:47:35 +0000 Subject: playbooks/site.yml: Add metrics for all machines --- playbooks/site.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'playbooks') 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 -- cgit v1.2.3