X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=sw_config%2Fbmra%2Fpatched_rhel_packages.yml;h=990f5dcb1e68d76a61cd87a68c383e0dcaed97c5;hb=69a9aefa68d69523e469d10c53a87524c77aeff4;hp=7e65484e55e87ab175eb3aa084d5d9b4896a8e27;hpb=76243b0baeaa427fa4042d92b1aef0a0dc7835d9;p=kuberef.git 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'