geerlingguy.ansible-role-do.../handlers/main.yml
Jeff Geerling 66cd55df09
Merge pull request #361 from dragetd/patch-1
Avoid string-based module configuration
2022-08-01 09:57:05 -05:00

8 lines
184 B
YAML

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