-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.yml
128 lines (113 loc) · 1.92 KB
/
main.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
---
##
# Tags
# * bootstrap | Creating a brand new installation from scratch
# * validate | Check for common issues after provisioning.
- hosts:
- all
tags: ['never', 'bootstrap']
tasks:
- name: Load service state
service_facts:
roles:
- base
- node_exporter
- local_dns
any_errors_fatal: true
- hosts:
- primary_nameserver
tags: ['never', 'bootstrap']
roles:
- powerdns
any_errors_fatal: true
- hosts:
- follower_nameservers
tags: ['never', 'bootstrap']
roles:
- powerdns
any_errors_fatal: true
- hosts:
- controller
- metrics
- registry
tags: ['never', 'bootstrap']
roles:
- docker
- cadvisor
- acme
- nginx
any_errors_fatal: true
- hosts:
- controller
tags: ['never', 'bootstrap']
roles:
- controller_postgres
- controller_redis
any_errors_fatal: true
- hosts:
- controller
tags: ['never', 'vault_unseal', 'bootstrap']
roles:
- vault
- hosts:
- backup_server
roles:
- backup
any_errors_fatal: true
- hosts:
- nodes
tags: ['never', 'bootstrap']
roles:
- docker
- cadvisor
- haproxy
any_errors_fatal: true
- hosts:
- nodes
tags: ['never', 'bootstrap']
roles:
- consul
any_errors_fatal: true
- hosts:
- nodes
tags: ['never', 'bootstrap']
roles:
- node_docker
- fluentd
- node
- cs_agent
any_errors_fatal: true
- hosts:
- controller
roles:
- controller
any_errors_fatal: true
- hosts:
- all
tags: ['never', 'bootstrap']
roles:
- iptables
- ssh_transfer
any_errors_fatal: true
- hosts:
- metrics
roles:
- loki
- prometheus
- alertmanager
any_errors_fatal: true
- hosts:
- controller
tags: ['never', 'bootstrap']
roles:
- controller_bootstrap
any_errors_fatal: true
- hosts:
- all
tags: ['never', 'validate']
roles:
- validate
- hosts:
- all
tasks:
- meta: flush_handlers