summaryrefslogtreecommitdiffstats
path: root/sw_config/bmra/patched_rhel_packages.yml
diff options
context:
space:
mode:
Diffstat (limited to 'sw_config/bmra/patched_rhel_packages.yml')
-rw-r--r--sw_config/bmra/patched_rhel_packages.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw_config/bmra/patched_rhel_packages.yml b/sw_config/bmra/patched_rhel_packages.yml
index 7e65484..990f5dc 100644
--- a/sw_config/bmra/patched_rhel_packages.yml
+++ b/sw_config/bmra/patched_rhel_packages.yml
@@ -224,3 +224,11 @@
- jq
state: present
when: ansible_distribution in ["RedHat", "CentOS"]
+
+- name: use the correct pip version for CentOS 7
+ pip:
+ name:
+ - pip==9.0.3
+ when:
+ - ansible_distribution == "CentOS"
+ - ansible_distribution_version < '7.9'