summaryrefslogtreecommitdiffstats
path: root/sw_config
diff options
context:
space:
mode:
authorMichael S. Pedersen <michaelx.pedersen@intel.com>2021-05-10 09:08:13 +0000
committerRihab Banday <rihab.banday@ericsson.com>2021-05-11 10:32:26 +0000
commita966a1e2bc63571400715f2936bca057632dd8ea (patch)
tree0c4c396adaf91786eb3026b51d7f938196fc7cbc /sw_config
parent4745a7fbc607b4944bb2daf96b150ae8dc39ef70 (diff)
Update workaround for python cachetools
Adds conditional to install cachetools v3.1.1 on Centos 7 (Python 2) and v4.2.1 in other cases Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I6fa648f228c7d12f1d5dedbf75ff96be3257ef62 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72494 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Diffstat (limited to 'sw_config')
-rw-r--r--sw_config/bmra/patched_packages.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw_config/bmra/patched_packages.yml b/sw_config/bmra/patched_packages.yml
index 3c7256f..7a87817 100644
--- a/sw_config/bmra/patched_packages.yml
+++ b/sw_config/bmra/patched_packages.yml
@@ -36,7 +36,7 @@
name:
- jmespath==0.9.5
- ruamel.yaml==0.16.13
- - cachetools==3.1.1
+ - cachetools=={{ (ansible_os_family == 'RedHat' and ansible_distribution_version < '8') | ternary('3.1.1', '4.2.1') }}
- openshift==0.11.2
state: present
register: pip_result