Prevent upgrading to pip 21+

Change-Id: I952690558486a1d981985eae0fe9d7e07ff30e17
(cherry picked from commit 0b870eb94d)
This commit is contained in:
Tim Burke 2021-01-25 11:17:21 -08:00 committed by Tim Burke
parent 41bec521f0
commit 69a95a52a5
1 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,11 @@
roles:
- ensure-pip
tasks:
- name: upgrade pip
- name: upgrade pip, but not too far
pip:
name: pip
# 20.* works on both py2 and py3, and the pip for centos7 in EPEL
# isn't smart enough to prevent us upgrading to 21+
name: pip<21
extra_args: --upgrade
- name: installing dependencies