Add check and ignore installation errors in --check mode

- addresses #280
This commit is contained in:
Eric Engstrom 2021-05-19 11:38:08 -05:00
parent d9361630a9
commit cc1171a9f7
No known key found for this signature in database
GPG Key ID: 9232FD58D13AAAB2

View File

@ -10,6 +10,7 @@
name: "{{ docker_package }}"
state: "{{ docker_package_state }}"
notify: restart docker
ignore_errors: "{{ ansible_check_mode }}"
- name: Ensure Docker is started and enabled at boot.
service: