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: