Fix image build checks missing setuptools
Use apt to install python3-pip, and use pip3 in event system has both pip2 and pip3 installed. Use apt to install setuptools for Ansible's consumption. Change-Id: Id80c809c636abe41a1cbb4d465f82ed1e8e0e9d7 Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
This commit is contained in:
parent
aa0cf8c8d0
commit
6a9c6b092b
|
@ -1,4 +1,4 @@
|
||||||
pytest-mock
|
pytest-mock==3.1.0
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
responses
|
responses
|
||||||
|
|
|
@ -47,10 +47,13 @@
|
||||||
with_items:
|
with_items:
|
||||||
- docker.io
|
- docker.io
|
||||||
- python-pip
|
- python-pip
|
||||||
|
- python-setuptools
|
||||||
|
- python3-setuptools
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
- pip:
|
- pip:
|
||||||
name: docker
|
name: docker
|
||||||
version: 2.7.0
|
version: 2.7.0
|
||||||
|
executable: pip
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Make images
|
- name: Make images
|
||||||
|
|
Loading…
Reference in New Issue