Fix docker-compose update

Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
This commit is contained in:
Norman Ziegner 2022-04-12 15:53:25 +02:00
parent 9b819a6c51
commit c5f2b14d9a
Failed to extract signature

View File

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