[FIX] debian docker: add setuptools dependency
This commit is contained in:
parent
4404d07fe0
commit
d48064a7e3
|
@ -19,11 +19,11 @@
|
|||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
- curl
|
||||
- gnupg2
|
||||
- software-properties-common
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
- curl
|
||||
- gnupg2
|
||||
- software-properties-common
|
||||
- name: docker - Add docker CE repo key
|
||||
become: yes
|
||||
apt_key:
|
||||
|
@ -52,7 +52,6 @@
|
|||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
|
||||
|
||||
# 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
|
||||
|
@ -88,8 +87,12 @@
|
|||
- name: docker-compose - Install requirements
|
||||
become: yes
|
||||
apt:
|
||||
name: python3-pip
|
||||
name: "{{ packages }}"
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
- name: docker-compose - Install using pip3
|
||||
become: yes
|
||||
pip:
|
||||
|
|
Loading…
Reference in a new issue