Use sleep during database bootstrap
A small sleep is used to allow the database to initialize before starting the databases on the other hosts. Change-Id: I1ea9ee8be55f47ae917f9985431e1e919f64c101 Closes-Bug: #1479970
This commit is contained in:
parent
640d2f1cad
commit
d32ed35d13
@ -58,3 +58,8 @@
|
||||
container_volumes_from:
|
||||
- "mariadb_data"
|
||||
when: delegate_host == 'None' and inventory_hostname == groups['mariadb'][0]
|
||||
|
||||
- name: Sleeping for 15 seconds while the cluster starts
|
||||
command: sleep 15
|
||||
changed_when: False
|
||||
when: delegate_host == 'None' and inventory_hostname == groups['mariadb'][0]
|
||||
|
Loading…
Reference in New Issue
Block a user