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: Icd66c91e1c26627f756373800b3913d8c347e412
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
Co-Authored-By: Alexey Odinokov <aodinokov@mirantis.com>
This commit is contained in:
Alexander Hughes 2020-06-16 15:28:10 -04:00
parent 38fd699992
commit aa3fca532a
1 changed files with 2 additions and 0 deletions

View File

@ -74,9 +74,11 @@
with_items:
- docker-ce
- python3-pip
- python3-setuptools
- pip:
name: docker
version: 2.7.0
executable: pip3
# NOTE(SamYaple): Allow all connections from containers to host so the
# containers can access the http server for git and wheels
- iptables: