mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 08:34:40 +03:00
Issue #2: Only use variable if it's defined.
This commit is contained in:
parent
d072a187e4
commit
ab49c85d98
@ -9,7 +9,9 @@
|
|||||||
file:
|
file:
|
||||||
path: /usr/local/bin/docker-compose
|
path: /usr/local/bin/docker-compose
|
||||||
state: absent
|
state: absent
|
||||||
when: docker_compose_version not in docker_compose_current_version.stdout
|
when: >
|
||||||
|
docker_compose_current_version.stdout is defined
|
||||||
|
and docker_compose_version not in docker_compose_current_version.stdout
|
||||||
|
|
||||||
- name: Install Docker Compose (if configured).
|
- name: Install Docker Compose (if configured).
|
||||||
get_url:
|
get_url:
|
||||||
|
Loading…
Reference in New Issue
Block a user