From 8030d1fc9ca0ebb752f646f8d80cc944a31ce9cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Tue, 4 Mar 2025 19:14:44 +0100 Subject: [PATCH] Install ansible via pip MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ansible 2.10 is too old for many collections Change-Id: Ifa767ab99504a56fc67ace643d84ae2613509b7d Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml index f9e757acb..b7063e99c 100644 --- a/jjb/functest/xtesting-ci.yaml +++ b/jjb/functest/xtesting-ci.yaml @@ -24,7 +24,7 @@ sudo podman ps -aq |xargs sudo podman rm || true fi sudo rm -rfv /data /tmp/xtesting* - if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then + if [ $(lsb_release -r -s |cut -d\. -f1) -ge "24" ]; then sudo DEBIAN_FRONTEND=noninteractive apt-get \ -o DPkg::Lock::Timeout=300 install ansible patch -y else @@ -71,7 +71,7 @@ fi sudo rm -rfv /data /tmp/xtesting* EOF - if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then + if [ $(lsb_release -r -s |cut -d\. -f1) -ge "24" ]; then sudo DEBIAN_FRONTEND=noninteractive apt-get \ -o DPkg::Lock::Timeout=300 install ansible patch -y else -- 2.16.6