Merge pull request #281 from eengstrom/additional-check-mode-error-ignores

Add check and ignore installation errors in `--check` mode
This commit is contained in:
Jeff Geerling 2021-05-19 12:38:11 -05:00 committed by GitHub
commit e0fc26eb36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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