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:
Sam Yaple 2015-07-31 21:50:43 +00:00
parent 640d2f1cad
commit d32ed35d13

View File

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