[FIX] ansible needs docker-compose python package
This commit is contained in:
parent
73d4c38499
commit
c30237b545
|
@ -53,7 +53,9 @@
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
|
||||||
|
|
||||||
# Install latest release of docker-compose (does not work for armhf/ arm64)
|
# Install latest release of docker-compose (using pip3)
|
||||||
|
# docker only provides pre-compiled binaries for x86_64, but not for armhf/ arm64!
|
||||||
|
# but ansible needs the python package anyway
|
||||||
- name: docker-compose - Discover if raspbian is used
|
- name: docker-compose - Discover if raspbian is used
|
||||||
set_fact:
|
set_fact:
|
||||||
dockercompose_use_pip: true
|
dockercompose_use_pip: true
|
||||||
|
@ -81,7 +83,7 @@
|
||||||
path: /usr/local/bin/docker-compose
|
path: /usr/local/bin/docker-compose
|
||||||
mode: 0755
|
mode: 0755
|
||||||
when: dockercompose_use_pip == false
|
when: dockercompose_use_pip == false
|
||||||
- name: docker-compose - Install using pip3
|
- name: docker-compose - Install python package
|
||||||
block:
|
block:
|
||||||
- name: docker-compose - Install requirements
|
- name: docker-compose - Install requirements
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -93,4 +95,3 @@
|
||||||
pip:
|
pip:
|
||||||
name: docker-compose
|
name: docker-compose
|
||||||
executable: pip3
|
executable: pip3
|
||||||
when: dockercompose_use_pip == true
|
|
||||||
|
|
Loading…
Reference in a new issue