-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmultitenant-prometheus.yml
60 lines (57 loc) · 1.89 KB
/
multitenant-prometheus.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
- hosts: all
become: yes
become_user: root
vars:
server_name: guenther.multitenant-prometheus.org
public_url: multitenant-prometheus.org
open_ports:
- http
- https
- 8000
- 8080
dhparams_path: /etc/ssl/dhparams.pem
dhparams_strength: 512 # fast, but insecure, use at least 4096 for production
le_cert_dir: /etc/dehydrated
le_chall_dir: /var/www/dehydrated
debdistro: stretch
rootkeys:
- "ssh-ed25519 ighicux9bai2oocaezoeCiip7Guzeeshel2koh1Uyie2eimeiGeN2eyuSh6eithiZeid [email protected]"
promconfd: "/etc/prometheus"
promstoraged: "/var/prometheus"
prometheus_node_txtfile_dir: "{{ promstoraged }}/node/txtfiles"
nginx_http_conf_dir: "/etc/nginx/http.conf.d"
nginx_main_conf_dir: "/etc/nginx/main.conf.d"
nginx_htpasswd_dir: "/etc/nginx/htpasswd"
nginx_load_modules_file: "{{ nginx_main_conf_dir }}/load_modules"
users:
- name: masterofdesaster
operator: yes
email:
scheme: https
ba_user: prometheus
ba_pass: letthescraperin
login_pass: letmein
sshkey: "ssh-ed25519 ighicux9bai2oocaezoeCiip7Guzeeshel2koh1Uyie2eimeiGeN2eyuSh6eithiZeid [email protected]"
- name: apprenticeofdesaster
operator: no
email:
scheme: https
ba_user: prometheus
ba_pass: letthescraperin
login_pass: letmein
sshkey: "ssh-ed25519 ighicux9bai2oocaezoeCiip7Guzeeshel2koh1Uyie2eimeiGeN2eyuSh6eithiZeid [email protected]"
roles:
- role: debian
register_monitoring: "no"
- role: monitoringserver
alertmanager_fallback_mailaddress: "[email protected]"
alertmanager_smtp_from: "[email protected]"
- role: nginx-reverseproxy
proxy_name: prometheus_direct_access
outer_port: 8000
inner_port: 9090
username: "masterofdesaster"
password: "givemeabypass"