Merge "Ensuring the Mariadb bootstrap configured properly"
This commit is contained in:
commit
1a9631a30e
@ -57,7 +57,7 @@
|
||||
- inventory_hostname == groups['mariadb'][0]
|
||||
|
||||
- name: Waiting for MariaDB service to be ready
|
||||
command: "docker exec mariadb ls /var/lib/mysql/mariadb.pid"
|
||||
command: "docker exec mariadb ls /var/lib/mysql/{{ item }}"
|
||||
register: bootstrap_result
|
||||
when:
|
||||
- delegate_host == 'None'
|
||||
@ -66,3 +66,6 @@
|
||||
changed_when: False
|
||||
retries: 6
|
||||
delay: 10
|
||||
with_items:
|
||||
- cluster.exists
|
||||
- mariadb.pid
|
||||
|
Loading…
Reference in New Issue
Block a user