aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/mariadb/tasks/bootstrap.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/mariadb/tasks/bootstrap.yml b/ansible/roles/mariadb/tasks/bootstrap.yml
index 8eea886d5..894ef19d2 100644
--- a/ansible/roles/mariadb/tasks/bootstrap.yml
+++ b/ansible/roles/mariadb/tasks/bootstrap.yml
@@ -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]