aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/network
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-05 11:33:48 +0100
committerbinary <me@rgoncalves.se>2021-03-05 11:33:48 +0100
commitfde556928d8ba7970566d1e445706083a599c9a3 (patch)
treebdaa0ddf83b0b30594ba461774271ed19a57564b /playbooks/network
parent375ee90ffd6586b4f72196d23aa0f9101dd18149 (diff)
downloadinfrastructure-fde556928d8ba7970566d1e445706083a599c9a3.tar.gz
Refactor playbook usage
Diffstat (limited to 'playbooks/network')
-rw-r--r--playbooks/network/grafana.yml13
-rw-r--r--playbooks/network/localhost.yml1
2 files changed, 13 insertions, 1 deletions
diff --git a/playbooks/network/grafana.yml b/playbooks/network/grafana.yml
new file mode 100644
index 0000000..30bc0f4
--- /dev/null
+++ b/playbooks/network/grafana.yml
@@ -0,0 +1,13 @@
+
+# network ~~ playbooks/network/grafana.yml
+# setup grafana for all hosts
+
+---
+
+- hosts: servers
+ roles:
+ - { role: prometheus }
+
+- hosts: st0cld0
+ roles:
+ - { role: grafana }
diff --git a/playbooks/network/localhost.yml b/playbooks/network/localhost.yml
index 4d87654..32d46fa 100644
--- a/playbooks/network/localhost.yml
+++ b/playbooks/network/localhost.yml
@@ -9,4 +9,3 @@
roles:
- { role: sshdns }
-
remember that computers suck.