kolla-ansible/ansible/roles/qdrouterd/handlers/main.yml
LinPeiWen d3e91045f5 Use Docker healthchecks for qdrouterd services
This change enables the use of Docker healthchecks for qdrouterd services.
Implements: blueprint container-health-check

Change-Id: If689be90690251180972454ed0baee658cc5e895
2021-03-12 01:07:39 +00:00

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"