Needs additional check

This commit is contained in:
Bajal 2022-04-04 21:01:36 -04:00
parent b48741f289
commit a9fe63f768
No known key found for this signature in database
GPG Key ID: CBB3A70642A7A476

View File

@ -15,7 +15,7 @@
path: "{{ docker_compose_path }}"
state: absent
when: >
docker_compose_current_version is defined
(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
- name: Install Docker Compose (if configured).