From: Guillaume Abrioux Date: Fri, 1 Oct 2021 23:05:42 +0000 (+0200) Subject: tests: ensure ca-certificate is up to date X-Git-Tag: v3.2.57~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=540ff7826e223f1e5f8f62bfa87a93fa6d477c55;p=ceph-ansible.git tests: ensure ca-certificate is up to date otherwise, it makes ssl verification fail because of expired certificates. Signed-off-by: Guillaume Abrioux --- 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