More sleep for cluster

This commit is contained in:
Egon Rijpkema 2018-02-28 10:36:17 +01:00
parent 6a6ebd0c60
commit 7114509697
1 changed files with 5 additions and 0 deletions

View File

@ -70,3 +70,8 @@
- name: start service at boot.
command: systemctl reenable mysql.service
- name: Give the cluster some time to initialize replication.
command: bash -c "sleep 60 && systemctl daemon-reload"
when: groups['databases'] | length >= 3