-
Notifications
You must be signed in to change notification settings - Fork 12
/
ams-cluster-playbook.yml
72 lines (54 loc) · 2.9 KB
/
ams-cluster-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
---
- 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: icinga_agent
become: yes
roles:
- { role: icinga_agent, tags: deploy_icinga_agent }
- hosts: ams_cluster
become: yes
roles:
- { role: private_hosts, task: main, tags: local_dns }
- hosts: mongo_private_cluster
become: yes
roles:
- { role: mongodb, task: main, tags: mongodb }
- hosts: ams
become: yes
roles:
- { role: zookeeper, task: main, tags: zookeeper_install }
- { role: kafka, task: main, tags: kafka_install }
- { role: ams, task: deploy, tags: ams_install }
- { role: ams, task: deploy_metrics, tags: ams_install }
- { role: ams, task: init_db, tags: init_ams_db }
- hosts: ams_push_server
become: yes
roles:
- { role: push-server, task: push-server-setup, tags: push_install }
- hosts: haproxy
become: yes
roles:
- { role: haproxy, task: haproxy, tags: haproxy_install }
- hosts: authn
become: yes
roles:
- { role: argo-api-authn, task: authn-setup }
- { role: argo-api-authn, task: python-env-setup }
- { role: argo-api-authn, task: 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 }