-
Notifications
You must be signed in to change notification settings - Fork 12
/
install.yml
164 lines (137 loc) · 4.73 KB
/
install.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
- hosts: all
become: yes
roles:
- { role: commons, task: selinux, tags: disable_selinux }
- { role: commons, task: timezone, tags: timezone }
- { role: commons, task: repos, tags: repos }
- { role: commons, task: basic_utils, tags: basic_utils }
- { role: commons, task: users, tags: groups_users_sshKeys }
- { role: commons, task: sshd, tags: sshd }
- { role: commons, task: firewall, tags: firewall }
- { role: commons, task: fail2ban, tags: fail2ban_conf }
- { role: commons, task: cert, tags: cert }
- { role: commons, task: rsyslog, tags: rsyslog_conf }
- { role: nickhammond.logrotate, tags: logrotate }
# - { role: commons, task: is_monitored, tags: monitored }
# - { role: commons, task: backupamsmongo, tags: rsyslog_conf }
- hosts: connectors
become: yes
roles:
- { role: consumer, task: connectors, tags: connectors }
- { role: consumer, task: cron_jobs, tags: cron_jobs }
- { role: consumer, task: delete_files, tags: delete_files }
- hosts: archiver
become: yes
roles:
- { role: archiver, task: archiver_setup, tags: archiver_setup }
- hosts: poem
become: yes
roles:
- { role: poem, tags: poem}
- { role: httpd, tags: httpd }
- hosts: haproxy
become: yes
roles:
- { role: haproxy, task: haproxy , tags: haproxy_install }
- hosts: ams
become: yes
roles:
- { role: zookeeper, tags: zookeeper_install }
- { role: kafka, tags: kafka_install }
- { role: ams, task: deploy, tags: ams_install }
- { role: ams, task: deploy_metrics, tags: ams_install }
- { role: ams, task: init_db }
- hosts: mongo_devel_private_network
become: yes
roles:
- { role: private_hosts, tags: private_hosts }
- hosts: ams_push_server
become: yes
roles:
- { role: push-server, task: push-server-setup, tags: push_install }
- hosts: mongo_private_cluster
become: yes
roles:
- { role: mongodb }
- hosts: authn
become: yes
roles:
- { role: argo-api-authn, task: authn-setup, tags: authn_install }
- { role: argo-api-authn, task: python-env-setup }
- { role: argo-api-authn, task: scripts_cert, tags: authn-scripts-cert }
- { role: argo-api-authn, task: authn-init, tags: init_checks }
- { role: argo-api-authn, task: ams-create-users-gocdb-script, tags: authn_ams_create_users }
- { role: argo-api-authn, task: ams-create-users-cloud-info-script, tags: authn_ams_create_users }
- hosts: metrics
become: yes
roles:
- { role: metrics, task: ams-metrics-ui }
- { role: metrics, task: ce_comp }
- hosts: monbox
become: yes
roles:
- { role: monbox, task: deploy }
- { role: monbox, task: config }
- hosts: alerta
become: yes
roles:
- { role: mongodb }
- { role: alerta, task: deploy, tags: alerta }
- hosts: webapi
become: yes
roles:
- { role: mongodb }
- { role: webapi, task: deploy }
- { role: webapi, task: init_api }
- hosts: swagger
become: yes
roles:
- { role: commons, task: cert, tags: swagger_deploy }
- { role: apache, tags: swagger_deploy }
- { role: swagger, tags: [swagger_deploy, swagger_update] }
- hosts: c_cluster
become: yes
roles:
- { role: private_hosts, tags: private_hosts }
- hosts: c_gateway
become: yes
roles:
- { role: squid }
- { role: cloudera_gateway}
- hosts: c_private
become: yes
roles:
- { role: through_http_proxy }
- { role: cloudera_internal_node }
- { role: disable_ipv6, tags: disable_ipv6 }
- hosts: c_manager
become: yes
roles:
- { role: cloudera_manager }
- hosts: c_flink
become: yes
roles:
- { role: flink, tags: deploy_flink }
- hosts: icinga_agent
become: yes
roles:
- { role: icinga_agent, tags: deploy_icinga_agent }
- hosts: apache
become: yes
roles:
- { role: commons, task: cert, tags: apache_certs }
- { role: apache, task: main, tags: apache_install }
- hosts: eseal
become: yes
remote_user: root
roles:
- { role: commons, task: firewall, tags: firewall }
- { role: commons, task: cert, tags: cert }
- { role: commons, task: rsyslog, tags: rsyslog_conf }
- { role: apache, task: main, tags: apache_install }
- { role: eseal, task: main, tags: eseal }
- hosts: gocdb
become: yes
roles:
- { role: backup_mysql, task: backup, tags: mysql-backup }