ignore likely errors if in ansible_check_mode

This commit is contained in:
Eric Engstrom
2021-04-20 11:16:09 -05:00
parent ab3d6c7ec5
commit 150a7ce135
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
---
- name: restart docker
service: "name=docker state={{ docker_restart_handler_state }}"
ignore_errors: "{{ ansible_check_mode }}"