--- - 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