run check task even in check mode

This commit is contained in:
fabricat 2021-10-14 14:48:04 +02:00 committed by GitHub
parent e35fef8b69
commit a0ce4704b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
- name: Check current docker-compose version. - name: Check current docker-compose version.
command: "{{ docker_compose_path }} --version" command: "{{ docker_compose_path }} --version"
register: docker_compose_current_version register: docker_compose_current_version
check_mode: no
changed_when: false changed_when: false
failed_when: false failed_when: false