From b48741f289526d3b02b4b3729811e44e337458f3 Mon Sep 17 00:00:00 2001 From: Bajal Date: Mon, 4 Apr 2022 20:46:43 -0400 Subject: [PATCH] Update conditional for docker-compose check --- tasks/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/docker-compose.yml b/tasks/docker-compose.yml index 4ccd44a..cd7cb02 100644 --- a/tasks/docker-compose.yml +++ b/tasks/docker-compose.yml @@ -15,7 +15,7 @@ path: "{{ docker_compose_path }}" state: absent when: > - 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 - name: Install Docker Compose (if configured).