mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-12-21 19:07:06 +01:00
Avoid string-based module configuration
Configure module parameters as a YAML dict instead of string.
This commit is contained in:
parent
f583d39a84
commit
ff37406248
@ -1,4 +1,6 @@
|
||||
---
|
||||
- name: restart docker
|
||||
service: "name=docker state={{ docker_restart_handler_state }}"
|
||||
service:
|
||||
name: docker
|
||||
state: "{{ docker_restart_handler_state }}"
|
||||
ignore_errors: "{{ ansible_check_mode }}"
|
||||
|
Loading…
Reference in New Issue
Block a user