6e6327e822
Change-Id: Ia127e29fd07bf01eb817e3d319d56f17854b09c9 Partically-implements: blueprint better-reconfigure
15 lines
481 B
YAML
15 lines
481 B
YAML
- name: Restart memcached container
|
|
vars:
|
|
service: "{{ memcached_services.memcached }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ service.image }}"
|
|
name: "{{ service.container_name }}"
|
|
volumes: "{{ service.volumes }}"
|
|
when:
|
|
- inventory_hostname in groups[service.group]
|
|
- service.enabled | bool
|
|
- memcached_config_json.changed | bool
|
|
or check_memcached_container.changed | bool
|