]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: ensure ca-certificate is up to date
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Oct 2021 23:05:42 +0000 (01:05 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Oct 2021 23:05:42 +0000 (01:05 +0200)
otherwise, it makes ssl verification fail because of expired
certificates.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/setup.yml

index 6b1845668958511512025fa559ca4331a458ada2..5fd39c6cfbe0d24b80d96daac357e575677e5a82 100644 (file)
       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