]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: ensure ca-certificates is up to date
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Oct 2021 22:41:03 +0000 (00:41 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Sat, 2 Oct 2021 13:48:31 +0000 (15:48 +0200)
otherwise the `rpm_key` module fails because it can't verify the
certificate.

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

index 0413e7337949f65308c704ad9d4a225d415e9e1e..837f44c156d64053df01a84fb0a3643b06bbaf3e 100644 (file)
@@ -4,6 +4,7 @@
   become: yes
   tasks:
 
+
     - name: check if it is Atomic host
       stat: path=/run/ostree-booted
       register: stat_ostree
       until: result is succeeded
       when: not is_atomic | bool
 
+    - 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: centos based systems - configure repos
       block:
         - name: disable fastest mirror detection