mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-23 16:22:59 +03: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
|