blob: bb20677f600d42c759691d6688aafe9be96dfcf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
|