Prevent upgrading to pip 21+

Change-Id: I952690558486a1d981985eae0fe9d7e07ff30e17
This commit is contained in:
Tim Burke 2021-01-25 11:17:21 -08:00
parent 48b26ba833
commit 0b870eb94d
1 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,11 @@
roles: roles:
- ensure-pip - ensure-pip
tasks: tasks:
- name: upgrade pip - name: upgrade pip, but not too far
pip: 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 extra_args: --upgrade
- name: install rsync-daemon - CentOS 8 - name: install rsync-daemon - CentOS 8