mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 00:33:04 +03:00
Fix docker-compose update
Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
This commit is contained in:
parent
9b819a6c51
commit
c5f2b14d9a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user