Merge pull request #361 from dragetd/patch-1

Avoid string-based module configuration
This commit is contained in:
Jeff Geerling 2022-08-01 09:57:05 -05:00 committed by GitHub
commit 66cd55df09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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