fix dependancies for docker_compose module
This commit is contained in:
parent
c7d8712dbd
commit
4d1370b22d
1 changed files with 14 additions and 6 deletions
|
@ -22,9 +22,17 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
- name: Install docker-compose
|
# Official methode for docker compose, redundant with pip
|
||||||
get_url:
|
#- name: Install docker-compose
|
||||||
url: https://github.com/docker/compose/releases/download/1.28.0/docker-compose-Linux-x86_64
|
# get_url:
|
||||||
# TODO: replace by "...1.28.0/docker-compose-$(uname -s)-$(uname -m)"
|
# url: https://github.com/docker/compose/releases/download/1.28.0/docker-compose-Linux-x86_64
|
||||||
dest: /usr/local/bin/docker-compose
|
# # TODO: replace by "...1.28.0/docker-compose-$(uname -s)-$(uname -m)"
|
||||||
mode: '0755'
|
# dest: /usr/local/bin/docker-compose
|
||||||
|
# mode: '0755'
|
||||||
|
|
||||||
|
# Methode requiered by ansible docker_compose module
|
||||||
|
- name: Install docker and docker-compose
|
||||||
|
pip:
|
||||||
|
name:
|
||||||
|
- docker
|
||||||
|
- docker-compose
|
||||||
|
|
Loading…
Reference in a new issue