From 44335ab2be7c4482941efc821ec972cbba1d0121 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 13 Mar 2020 10:38:52 +1100 Subject: [PATCH] pip3: Add python3-distutils This is a requirement, otherwise get-pip.py fails to install Change-Id: If8dc87d3755056af52f7f7415f6596071ac5feef --- playbooks/roles/pip3/tasks/main.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/roles/pip3/tasks/main.yaml b/playbooks/roles/pip3/tasks/main.yaml index 9845036d2a..8360b0009e 100644 --- a/playbooks/roles/pip3/tasks/main.yaml +++ b/playbooks/roles/pip3/tasks/main.yaml @@ -5,6 +5,14 @@ - python3-virtualenv state: absent +# NOTE(ianw) : See https://github.com/pypa/get-pip/issues/43; +# requirement of get-pip.py +- name: Ensure distutils + package: + name: + - python3-distutils + state: present + - name: Download get-pip.py command: wget https://bootstrap.pypa.io/get-pip.py args: