From 735012c4bb4aaf83aa2eaadefde7b8b0a4674397 Mon Sep 17 00:00:00 2001 From: Martin Chlumsky Date: Thu, 29 Mar 2018 16:45:31 -0400 Subject: [PATCH] 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 --- ansible/roles/keystone/tasks/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/keystone/tasks/config.yml b/ansible/roles/keystone/tasks/config.yml index 31617bc998..df07c35c86 100644 --- a/ansible/roles/keystone/tasks/config.yml +++ b/ansible/roles/keystone/tasks/config.yml @@ -232,6 +232,7 @@ - name: Check keystone containers kolla_docker: action: "compare_container" + common_options: "{{ docker_common_options }}" name: "{{ item.value.container_name }}" image: "{{ item.value.image }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"