-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplaybook.yml
More file actions
executable file
·44 lines (43 loc) · 817 Bytes
/
playbook.yml
File metadata and controls
executable file
·44 lines (43 loc) · 817 Bytes
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
- hosts: all_public_node_ips
gather_facts: no
pre_tasks:
- name: Wait for SSH connectivity
wait_for_connection:
delay: 5
timeout: 300
sleep: 5
- hosts: all_public_node_ips
gather_facts: True
roles:
- common
- hosts: crdb_node_ips
gather_facts: True
roles:
- crdb-node
- hosts: haproxy_node_ips
gather_facts: True
roles:
- haproxy-node
- hosts: crdb_node_ips_0
gather_facts: True
roles:
- crdb-node-0
- hosts: app_node_ips
gather_facts: True
roles:
- app-node
- hosts: app_node_ips
gather_facts: True
roles:
- replicator-molt
- hosts: haproxy_node_ips
gather_facts: True
roles:
- app-prometheus
- hosts: kafka_node_ips
gather_facts: false
become: yes
become_user: root
become_method: sudo
roles:
- kafka-node