summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2021-01-25 11:17:21 -0800
committerTim Burke <tim.burke@gmail.com>2021-01-25 11:17:21 -0800
commit0b870eb94dfe9769a07695b296eaa6758820a5f3 (patch)
tree1a056a7c4f8e44fe94c43852da2b86255a0bb6d5 /tools
parent48b26ba8338cf380130d19bb31a5a53676e99562 (diff)
downloadswift-0b870eb94dfe9769a07695b296eaa6758820a5f3.tar.gz
Prevent upgrading to pip 21+
Change-Id: I952690558486a1d981985eae0fe9d7e07ff30e17
Diffstat (limited to 'tools')
-rw-r--r--tools/playbooks/common/install_dependencies.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/playbooks/common/install_dependencies.yaml b/tools/playbooks/common/install_dependencies.yaml
index 41826606f..893b7d03b 100644
--- a/tools/playbooks/common/install_dependencies.yaml
+++ b/tools/playbooks/common/install_dependencies.yaml
@@ -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: install rsync-daemon - CentOS 8