diff --git a/handlers/main.yml b/handlers/main.yml index a173b0d..1848733 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -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 }}"