From 2fde95ca0846d4f4c94abf5993cd9469f6a4058a Mon Sep 17 00:00:00 2001 From: Pavel Glushchak Date: Fri, 26 Oct 2018 18:32:37 +0300 Subject: [PATCH] fixed memcached is not restarted when config changed That's because instead of start_container we need to use recreate_or_restart_container in handler. Change-Id: I3bb0a4c38b9024b2e2e26bfc06cb143bb5d35317 Signed-off-by: Pavel Glushchak --- ansible/roles/memcached/handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/memcached/handlers/main.yml b/ansible/roles/memcached/handlers/main.yml index b732f305d5..f9c470e092 100644 --- a/ansible/roles/memcached/handlers/main.yml +++ b/ansible/roles/memcached/handlers/main.yml @@ -4,7 +4,7 @@ service: "{{ memcached_services.memcached }}" become: true kolla_docker: - action: "start_container" + action: "recreate_or_restart_container" common_options: "{{ docker_common_options }}" image: "{{ service.image }}" name: "{{ service.container_name }}"