X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=sw_config%2Fbmra%2Fpatched_rhel_packages.yml;fp=sw_config%2Fbmra%2Fpatched_rhel_packages.yml;h=ec54dc9446fdf68144ffb782a078126ff421b94f;hb=12974135e5a2982f000dc5afe2f1f5821b532493;hp=687142ab0064ef4eb0fd836fee15249e794cd0d0;hpb=f773a3c4c6f0f3f749c417eb909b0d153a613b17;p=kuberef.git diff --git a/sw_config/bmra/patched_rhel_packages.yml b/sw_config/bmra/patched_rhel_packages.yml index 687142a..ec54dc9 100644 --- a/sw_config/bmra/patched_rhel_packages.yml +++ b/sw_config/bmra/patched_rhel_packages.yml @@ -281,12 +281,20 @@ - pip==9.0.3 when: - ansible_distribution == "CentOS" - - ansible_distribution_version < '7.9' + - ansible_distribution_version < '8' -- name: Install pip3 required by dpdk +- name: Remove older version of pip3 which causes dpdk setup tasks to fail yum: name: python3-pip - state: latest + state: absent when: - ansible_distribution == "CentOS" - - ansible_distribution_version < '7.9' + - ansible_distribution_version < '8' + +- name: Install new version of pip3 required by dpdk tasks + yum: + name: python3-pip + state: present + when: + - ansible_distribution == "CentOS" + - ansible_distribution_version < '8'