From c5f2b14d9a71ec4f25659e6a246d998a3b1be20a Mon Sep 17 00:00:00 2001 From: Norman Ziegner Date: Tue, 12 Apr 2022 15:53:25 +0200 Subject: [PATCH] Fix docker-compose update Signed-off-by: Norman Ziegner --- tasks/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/docker-compose.yml b/tasks/docker-compose.yml index a5235d9..42f89cb 100644 --- a/tasks/docker-compose.yml +++ b/tasks/docker-compose.yml @@ -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: