ansible-role-docker/handlers/main.yml
2022-04-07 11:23:29 +02:00

6 lines
174 B
YAML

---
- name: restart docker
service: "name=docker state={{ docker_restart_handler_state }}"
ignore_errors: "{{ ansible_check_mode }}"
when: docker_service_manage | bool