d3e91045f5
This change enables the use of Docker healthchecks for qdrouterd services. Implements: blueprint container-health-check Change-Id: If689be90690251180972454ed0baee658cc5e895
17 lines
511 B
YAML
17 lines
511 B
YAML
---
|
|
- name: Restart qdrouterd container
|
|
vars:
|
|
service_name: "qdrouterd"
|
|
service: "{{ qdrouterd_services[service_name] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "recreate_or_restart_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "{{ service.container_name }}"
|
|
image: "{{ service.image }}"
|
|
volumes: "{{ service.volumes }}"
|
|
dimensions: "{{ service.dimensions }}"
|
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
|
when:
|
|
- kolla_action != "config"
|