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 <pglushchak@virtuozzo.com>
(cherry picked from commit 2fde95ca08)
This commit is contained in:
Pavel Glushchak 2018-10-26 18:32:37 +03:00 committed by Mark Goddard
parent 70c1a23e76
commit bff38db388
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
vars:
service: "{{ memcached_services.memcached }}"
kolla_docker:
action: "start_container"
action: "recreate_or_restart_container"
common_options: "{{ docker_common_options }}"
image: "{{ service.image }}"
name: "{{ service.container_name }}"