Add common_options to keystone container check
keystone_* containers are created via the kolla_docker ansible module with common_options set to docker_common_options. However, when the containers are checked, common_options are not passed to the kolla_docker ansible module. This can cause the keystone_* containers to be restarted during a reconfigure when there are no changes to keystone configuration. Add the common_options argument to the kolla_docker ansible module when checking the keystone containers and set it to docker_common_options. Change-Id: I44aefcf3d71faecaf1ffe384fd5a2f611e584a37 Closes-Bug: #1759922
This commit is contained in:
parent
154994a3e1
commit
735012c4bb
@ -232,6 +232,7 @@
|
|||||||
- name: Check keystone containers
|
- name: Check keystone containers
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user