-
Notifications
You must be signed in to change notification settings - Fork 2
/
playbook.yml
80 lines (68 loc) · 1.41 KB
/
playbook.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
- name: Check if environment is set
hosts: all
tasks:
-
debug:
msg: "Starting ansible with {{ runenv }} environment."
- name: Postfix mail black hole
hosts: noc_dev
gather_facts: no # Not yet
roles:
- name: postfix
role: roles/postfix
tags: postfix
- name: External NOC
hosts: noc
gather_facts: no # Not yet
# Variables common to all roles
roles:
- name: docker
role: nickjj.docker
become: yes
become_user: root
tags: docker
- name: noc
role: roles/noc
tags: noc
- name: traefik
role: roles/traefik
tags: traefik
- name: alertmanager
role: roles/alertmanager
tags:
- noc
- alertmanager
- name: alert_tg_bot
role: roles/alert_tg_bot
tags:
- noc
- alert_tg_bot
- name: blackbox_exporter
role: roles/blackbox_exporter
tags:
- noc
- bbe
- name: grafana
role: roles/grafana
tags:
- noc
- grafana
- name: node_exporter
role: roles/node_exporter
tags:
- noc
- nodeexporter
- name: prometheus
role: roles/prometheus
tags:
- noc
- prometheus
- prometheus.force-restart
- name: pushgateway
role: roles/pushgateway
tags:
- noc
- pushgateway
- name: mgmt
role: roles/mgmt
tags: mgmt