Merge pull request #343 from Normo/342-fix-docker-compose-update

Fix docker-compose update
This commit is contained in:
Jeff Geerling 2022-04-12 14:10:05 -05:00 committed by GitHub
commit 5b8e39b38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@
path: "{{ docker_compose_path }}"
state: absent
when: >
(docker_compose_current_version is defined and docker_compose_current_version.stdout is defined)
and (docker_compose_version | regex_replace('v', '')) not in docker_compose_current_version.stdout
docker_compose_current_version is defined
and (docker_compose_version | regex_replace('v', '')) not in docker_compose_current_version
- name: Install Docker Compose (if configured).
get_url: