mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 08:34:40 +03:00
Needs additional check
This commit is contained in:
parent
b48741f289
commit
a9fe63f768
@ -15,7 +15,7 @@
|
|||||||
path: "{{ docker_compose_path }}"
|
path: "{{ docker_compose_path }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: >
|
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
|
and (docker_compose_version | regex_replace('v', '')) not in docker_compose_current_version.stdout
|
||||||
|
|
||||||
- name: Install Docker Compose (if configured).
|
- name: Install Docker Compose (if configured).
|
||||||
|
Loading…
Reference in New Issue
Block a user