blob: 46c0b92875a056ef4740bf18a34e1b286881f435 (
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/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"
|