mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-23 19:06:54 +01:00
66cd55df09
Avoid string-based module configuration
8 lines
184 B
YAML
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
|