summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mon.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-12-07 22:36:08 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-12-07 22:53:30 +0100
commit4d16bcd374f6fa830d1598a506d46b5b07aad857 (patch)
tree26186c96ccd677a37109daa75088e011047fe3bf /chaos-at-home/ch-mon.yml
parentmonitoring/grafana: fix permission fighting between ansible und grafana-server (diff)
monitoring: add simple landingpage
Diffstat (limited to 'chaos-at-home/ch-mon.yml')
-rw-r--r--chaos-at-home/ch-mon.yml18
1 files changed, 5 insertions, 13 deletions
diff --git a/chaos-at-home/ch-mon.yml b/chaos-at-home/ch-mon.yml
index 46c0b928..df34e09d 100644
--- a/chaos-at-home/ch-mon.yml
+++ b/chaos-at-home/ch-mon.yml
@@ -7,6 +7,10 @@
- role: core/sshd/base
- role: core/zsh
- role: core/ntp
+
+- name: Payload Setup
+ hosts: ch-mon
+ roles:
- role: storage/lvm/groups
- role: nginx/base
- role: apt-repo/spreadspace
@@ -15,16 +19,4 @@
- role: monitoring/prometheus/server
- role: monitoring/prometheus/alertmanager
- role: monitoring/grafana
- - role: nginx/vhost
- nginx_vhost:
- name: monitoring
- template: generic
- hostnames:
- - "_"
- locations:
- '/grafana/':
- proxy_pass: "http://127.0.0.1:3000"
- '/prometheus/':
- proxy_pass: "http://127.0.0.1:9090"
- '/alertmanager/':
- proxy_pass: "http://127.0.0.1:9093"
+ - role: monitoring/landingpage