summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mon.yml
blob: 90fa0a694d46ba9ed722741a6139ea947ef6f016 (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-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"