From a966a1e2bc63571400715f2936bca057632dd8ea Mon Sep 17 00:00:00 2001 From: "Michael S. Pedersen" Date: Mon, 10 May 2021 09:08:13 +0000 Subject: [PATCH] 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 Change-Id: I6fa648f228c7d12f1d5dedbf75ff96be3257ef62 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72494 Tested-by: jenkins-ci Reviewed-by: Rihab Banday --- sw_config/bmra/patched_packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6