Ensuring the Mariadb bootstrap configured properly
Make sure extend_start.sh file run to completion Change-Id: I45f6ab1c7d1b7a21ac92bb5f0e9d82a6c135cb5f Closes-Bug: #1545287
This commit is contained in:
parent
8ef7434770
commit
e62995055f
@ -56,7 +56,7 @@
|
|||||||
- inventory_hostname == groups['mariadb'][0]
|
- inventory_hostname == groups['mariadb'][0]
|
||||||
|
|
||||||
- name: Waiting for MariaDB service to be ready
|
- 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
|
register: bootstrap_result
|
||||||
when:
|
when:
|
||||||
- delegate_host == 'None'
|
- delegate_host == 'None'
|
||||||
@ -65,3 +65,6 @@
|
|||||||
changed_when: False
|
changed_when: False
|
||||||
retries: 6
|
retries: 6
|
||||||
delay: 10
|
delay: 10
|
||||||
|
with_items:
|
||||||
|
- cluster.exists
|
||||||
|
- mariadb.pid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user