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: I3e0656acc41d0b0457bf77b89231fbc2763d698e
This commit is contained in:
parent
eec2dc44e0
commit
6a98b4cc7e
@ -21,12 +21,15 @@
|
|||||||
- python-docker
|
- python-docker
|
||||||
- python3-requests
|
- python3-requests
|
||||||
- pass
|
- pass
|
||||||
|
- python3-pip
|
||||||
|
- python3-setuptools
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||||
- name: Install docker pip module
|
- name: Install docker pip module
|
||||||
pip:
|
pip:
|
||||||
name: docker
|
name: docker
|
||||||
|
executable: pip3
|
||||||
- name: Publish images
|
- name: Publish images
|
||||||
block:
|
block:
|
||||||
- make:
|
- make:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user