e01900b3ce
Closes-Bug: #1665047 Change-Id: Ief0813e4f505574c9b8eee8a59765dadbac474ed
17 lines
499 B
YAML
17 lines
499 B
YAML
---
|
|
- name: Restart chrony container
|
|
vars:
|
|
service_name: "chrony"
|
|
service: "{{ chrony_services[service_name] }}"
|
|
kolla_docker:
|
|
action: "recreate_or_restart_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
privileged: "{{ service.privileged }}"
|
|
name: "{{ service.container_name }}"
|
|
image: "{{ service.image }}"
|
|
volumes: "{{ service.volumes }}"
|
|
when:
|
|
- action != "config"
|
|
- inventory_hostname in groups[service.group]
|
|
- service.enabled | bool
|