mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-23 16:22:59 +03:00
Merge pull request #361 from dragetd/patch-1
Avoid string-based module configuration
This commit is contained in:
commit
66cd55df09
@ -1,5 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: restart docker
|
- name: restart docker
|
||||||
service: "name=docker state={{ docker_restart_handler_state }}"
|
service:
|
||||||
|
name: docker
|
||||||
|
state: "{{ docker_restart_handler_state }}"
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
when: docker_service_manage | bool
|
when: docker_service_manage | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user