diff options
Diffstat (limited to 'chaos-at-home/ch-mon.yml')
-rw-r--r-- | chaos-at-home/ch-mon.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chaos-at-home/ch-mon.yml b/chaos-at-home/ch-mon.yml new file mode 100644 index 00000000..bb20677f --- /dev/null +++ b/chaos-at-home/ch-mon.yml @@ -0,0 +1,30 @@ +--- +- name: Basic Setup + hosts: ch-mon + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/ntp + - role: storage/lvm/groups + - role: nginx/base + - role: apt-repo/spreadspace + - role: monitoring/prometheus/ca + - role: monitoring/prometheus/exporter + - role: monitoring/prometheus/alertmanager + - role: monitoring/prometheus/server + - role: monitoring/grafana + - role: nginx/vhost + nginx_vhost: + name: monitoring + template: generic-proxy-no-buffering + 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" |