3c1fd44092
This change enables the use of Docker healthchecks for memcached services. Implements: blueprint container-health-check Change-Id: I571e6d6cac634fd86429e12b946d6f7b4a2ab02c
16 lines
477 B
YAML
16 lines
477 B
YAML
---
|
|
- name: Restart memcached container
|
|
vars:
|
|
service: "{{ memcached_services.memcached }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "recreate_or_restart_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ service.image }}"
|
|
name: "{{ service.container_name }}"
|
|
volumes: "{{ service.volumes }}"
|
|
dimensions: "{{ service.dimensions }}"
|
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
|
when:
|
|
- kolla_action != "config"
|