-
Notifications
You must be signed in to change notification settings - Fork 0
/
restart.yml
42 lines (27 loc) · 913 Bytes
/
restart.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
---
- hosts: masterNodes
vars_files:
- vars/druid.yml
tasks:
- import_tasks: cluster_ops/tasks/restart-coordinator.yml
# TODO implement for zookeeper and overload start status
# - import_tasks: cluster_ops/tasks/restart-overload.yml
- name: Debug node readiness right after restart
debug: var=node_readiness
- hosts: dataNodes
vars_files:
- vars/druid.yml
tasks:
- import_tasks: cluster_ops/tasks/restart-historical.yml
- name: Debug node readiness right after restart
debug: var=node_readiness
- import_tasks: cluster_ops/tasks/restart-middlemanager.yml
- name: Debug node readiness right after restart
debug: var=node_readiness
- hosts: brokerNodes
vars_files:
- vars/druid.yml
tasks:
- import_tasks: cluster_ops/tasks/restart-broker.yml
- name: Debug node readiness right after restart
debug: var=node_readiness