mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Merge pull request #343 from Normo/342-fix-docker-compose-update
Fix docker-compose update
This commit is contained in:
commit
5b8e39b38e
@ -15,8 +15,8 @@
|
|||||||
path: "{{ docker_compose_path }}"
|
path: "{{ docker_compose_path }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: >
|
when: >
|
||||||
(docker_compose_current_version is defined and 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
|
and (docker_compose_version | regex_replace('v', '')) not in docker_compose_current_version
|
||||||
|
|
||||||
- name: Install Docker Compose (if configured).
|
- name: Install Docker Compose (if configured).
|
||||||
get_url:
|
get_url:
|
||||||
|
Loading…
Reference in New Issue
Block a user