Code Review
/
kuberef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix pip3 version issues
[kuberef.git]
/
sw_config
/
bmra
/
patched_rhel_packages.yml
diff --git
a/sw_config/bmra/patched_rhel_packages.yml
b/sw_config/bmra/patched_rhel_packages.yml
index
687142a
..
ec54dc9
100644
(file)
--- 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"
- 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
yum:
name: python3-pip
- state:
lates
t
+ state:
absen
t
when:
- ansible_distribution == "CentOS"
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'