I misunderstood pause. need sleep.
This commit is contained in:
parent
979f5d5252
commit
f5d31cb49e
@ -60,12 +60,8 @@
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: give the galera master node some time to Initialize
|
||||
pause:
|
||||
minutes: 1
|
||||
when: ansible_hostname != hostname_node0
|
||||
|
||||
- command: systemctl daemon-reload
|
||||
- name: Give the master node some time to initialize the cluster.
|
||||
command: bash -c "sleep 60 && systemctl daemon-reload"
|
||||
|
||||
- name: make sure service is started
|
||||
systemd:
|
||||
|
Loading…
Reference in New Issue
Block a user