Merge "Fix kolla-ansible genconfig for mariadb"
This commit is contained in:
commit
2eafc4ca27
@ -53,6 +53,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes }}"
|
volumes: "{{ service.volumes }}"
|
||||||
when:
|
when:
|
||||||
|
- action != "config"
|
||||||
- inventory_hostname != master_host
|
- inventory_hostname != master_host
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
- service.enabled | bool
|
- service.enabled | bool
|
||||||
@ -78,6 +79,7 @@
|
|||||||
retries: 10
|
retries: 10
|
||||||
delay: 6
|
delay: 6
|
||||||
when:
|
when:
|
||||||
|
- action != "config"
|
||||||
- inventory_hostname != master_host
|
- inventory_hostname != master_host
|
||||||
|
|
||||||
- name: restart master mariadb
|
- name: restart master mariadb
|
||||||
@ -92,6 +94,7 @@
|
|||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
volumes: "{{ service.volumes }}"
|
volumes: "{{ service.volumes }}"
|
||||||
when:
|
when:
|
||||||
|
- action != "config"
|
||||||
- inventory_hostname == master_host
|
- inventory_hostname == master_host
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
- service.enabled | bool
|
- service.enabled | bool
|
||||||
@ -117,4 +120,5 @@
|
|||||||
retries: 10
|
retries: 10
|
||||||
delay: 6
|
delay: 6
|
||||||
when:
|
when:
|
||||||
|
- action != "config"
|
||||||
- inventory_hostname == master_host
|
- inventory_hostname == master_host
|
||||||
|
Loading…
Reference in New Issue
Block a user