|
3 | 3 | - hosts: all |
4 | 4 | become: yes |
5 | 5 | roles: |
| 6 | + - { role: commons, task: selinux, tags: disable_selinux } |
6 | 7 | - { role: commons, task: timezone, tags: timezone } |
7 | 8 | - { role: commons, task: repos, tags: repos } |
8 | 9 | - { role: commons, task: basic_utils, tags: basic_utils } |
|
38 | 39 | - hosts: haproxy |
39 | 40 | become: yes |
40 | 41 | roles: |
41 | | - - { role: haproxy, task: rsyslog } |
42 | 42 | - { role: haproxy, task: haproxy , tags: haproxy_install } |
43 | 43 |
|
44 | | -- hosts: ams_store |
45 | | - become: yes |
46 | | - roles: |
47 | | - - { role: private_hosts } |
48 | | - - { role: mongodb } |
49 | | - - { role: ams, task: init_db, tags: ams_install } |
50 | | - |
51 | 44 | - hosts: ams |
52 | 45 | become: yes |
53 | 46 | roles: |
54 | | - - { role: private_hosts } |
55 | 47 | - { role: zookeeper, tags: zookeeper_install } |
56 | 48 | - { role: kafka, tags: kafka_install } |
57 | 49 | - { role: ams, task: deploy, tags: ams_install } |
58 | 50 | - { role: ams, task: deploy_metrics, tags: ams_install } |
| 51 | + - { role: ams, task: init_db } |
| 52 | + |
| 53 | +- hosts: mongo_devel_private_network |
| 54 | + become: yes |
| 55 | + roles: |
| 56 | + - { role: private_hosts, tags: private_hosts } |
59 | 57 |
|
60 | 58 | - hosts: ams_push_server |
61 | 59 | become: yes |
62 | 60 | roles: |
63 | 61 | - { role: push-server, task: push-server-setup, tags: push_install } |
64 | 62 |
|
65 | | -- hosts: authn |
| 63 | +- hosts: mongo_private_cluster |
66 | 64 | become: yes |
67 | 65 | roles: |
68 | 66 | - { role: mongodb } |
69 | | - - { role: argo-api-authn, task: authn-setup } |
70 | | - - { role: argo-api-authn, task: python-env-setup } |
71 | | - - { role: argo-api-authn, task: ams-create-users-gocdb-script } |
72 | | - - { role: argo-api-authn, task: ams-create-users-cloud-info-script } |
73 | | - - { role: argo-api-authn, task: scripts_cert } |
| 67 | + |
| 68 | +- hosts: authn |
| 69 | + become: yes |
| 70 | + roles: |
| 71 | + - { role: argo-api-authn, task: authn-setup, tags: authn_install } |
| 72 | + - { role: argo-api-authn, task: python-env-setup } |
| 73 | + - { role: argo-api-authn, task: scripts_cert, tags: authn-scripts-cert } |
| 74 | + - { role: argo-api-authn, task: authn-init, tags: init_checks } |
| 75 | + - { role: argo-api-authn, task: ams-create-users-gocdb-script, tags: authn_ams_create_users } |
| 76 | + - { role: argo-api-authn, task: ams-create-users-cloud-info-script, tags: authn_ams_create_users } |
| 77 | + |
74 | 78 |
|
75 | 79 | - hosts: metrics |
76 | 80 | become: yes |
|
100 | 104 | - hosts: swagger |
101 | 105 | become: yes |
102 | 106 | roles: |
103 | | - - { role: httpd, tags: httpd } |
104 | | - - { role: swagger } |
| 107 | + - { role: commons, task: cert, tags: swagger_deploy } |
| 108 | + - { role: apache, tags: swagger_deploy } |
| 109 | + - { role: swagger, tags: [swagger_deploy, swagger_update] } |
105 | 110 |
|
106 | 111 | - hosts: c_cluster |
107 | 112 | become: yes |
|
134 | 139 | - hosts: icinga_agent |
135 | 140 | become: yes |
136 | 141 | roles: |
137 | | - - { role: icinga_agent, tags: deploy_icinga_agent } |
| 142 | + - { role: icinga_agent, tags: deploy_icinga_agent } |
| 143 | + |
| 144 | +- hosts: apache |
| 145 | + become: yes |
| 146 | + roles: |
| 147 | + - { role: commons, task: cert, tags: apache_certs } |
| 148 | + - { role: apache, task: main, tags: apache_install } |
| 149 | + |
| 150 | +- hosts: eseal |
| 151 | + become: yes |
| 152 | + remote_user: root |
| 153 | + roles: |
| 154 | + - { role: commons, task: firewall, tags: firewall } |
| 155 | + - { role: commons, task: cert, tags: cert } |
| 156 | + - { role: commons, task: rsyslog, tags: rsyslog_conf } |
| 157 | + - { role: apache, task: main, tags: apache_install } |
| 158 | + - { role: eseal, task: main, tags: eseal } |
| 159 | + |
| 160 | + |
| 161 | +- hosts: gocdb |
| 162 | + become: yes |
| 163 | + roles: |
| 164 | + - { role: backup_mysql, task: backup, tags: mysql-backup } |
0 commit comments