pip3: Add python3-distutils

This is a requirement, otherwise get-pip.py fails to install

Change-Id: If8dc87d3755056af52f7f7415f6596071ac5feef
This commit is contained in:
Ian Wienand 2020-03-13 10:38:52 +11:00
parent f89e89afaf
commit 44335ab2be
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,14 @@
- python3-virtualenv - python3-virtualenv
state: absent 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 - name: Download get-pip.py
command: wget https://bootstrap.pypa.io/get-pip.py command: wget https://bootstrap.pypa.io/get-pip.py
args: args: