I misunderstood pause. need sleep.

This commit is contained in:
Egon Rijpkema 2017-10-31 15:15:22 +01:00
parent 979f5d5252
commit f5d31cb49e
1 changed files with 2 additions and 6 deletions

View File

@ -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: