From 540ff7826e223f1e5f8f62bfa87a93fa6d477c55 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Sat, 2 Oct 2021 01:05:42 +0200 Subject: [PATCH] tests: ensure ca-certificate is up to date otherwise, it makes ssl verification fail because of expired certificates. Signed-off-by: Guillaume Abrioux --- tests/functional/setup.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/functional/setup.yml b/tests/functional/setup.yml index 6b1845668..5fd39c6cf 100644 --- a/tests/functional/setup.yml +++ b/tests/functional/setup.yml @@ -23,6 +23,14 @@ when: - not is_atomic + - name: ensure ca-certificate is latest version + package: + name: ca-certificates + state: latest + register: result + until: result is succeeded + when: not is_atomic | bool + - name: disable fastest mirror detection ini_file: path: /etc/yum/pluginconf.d/fastestmirror.conf -- 2.47.3