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>
This commit is contained in:
Pavel Glushchak 2018-10-26 18:32:37 +03:00
parent c0435b833a
commit 2fde95ca08

View File

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