[FIX] debian docker: add setuptools dependency

This commit is contained in:
Jannik Beyerstedt 2019-11-11 18:15:33 +01:00
parent 4404d07fe0
commit d48064a7e3
1 changed files with 10 additions and 7 deletions

View File

@ -19,11 +19,11 @@
state: present state: present
vars: vars:
packages: packages:
- apt-transport-https - apt-transport-https
- ca-certificates - ca-certificates
- curl - curl
- gnupg2 - gnupg2
- software-properties-common - software-properties-common
- name: docker - Add docker CE repo key - name: docker - Add docker CE repo key
become: yes become: yes
apt_key: apt_key:
@ -52,7 +52,6 @@
update_cache: yes update_cache: yes
cache_valid_time: 3600 cache_valid_time: 3600
# Install latest release of docker-compose (using pip3) # Install latest release of docker-compose (using pip3)
# docker only provides pre-compiled binaries for x86_64, but not for armhf/ arm64! # docker only provides pre-compiled binaries for x86_64, but not for armhf/ arm64!
# but ansible needs the python package anyway # but ansible needs the python package anyway
@ -88,8 +87,12 @@
- name: docker-compose - Install requirements - name: docker-compose - Install requirements
become: yes become: yes
apt: apt:
name: python3-pip name: "{{ packages }}"
state: present state: present
vars:
packages:
- python3-pip
- python3-setuptools
- name: docker-compose - Install using pip3 - name: docker-compose - Install using pip3
become: yes become: yes
pip: pip: