From 6a98b4cc7ea3c7711867bb5a74dd265daee2e250 Mon Sep 17 00:00:00 2001 From: Ian Howell Date: Wed, 17 Jun 2020 10:42:51 -0500 Subject: [PATCH] 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 --- playbooks/airship-images-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/airship-images-build.yaml b/playbooks/airship-images-build.yaml index 58c4e28..f266cda 100644 --- a/playbooks/airship-images-build.yaml +++ b/playbooks/airship-images-build.yaml @@ -21,12 +21,15 @@ - python-docker - python3-requests - pass + - python3-pip + - python3-setuptools state: present become: true when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' - name: Install docker pip module pip: name: docker + executable: pip3 - name: Publish images block: - make: