tests: ensure ca-certificate is up to date

otherwise, it makes ssl verification fail because of expired
certificates.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/7124/head
Guillaume Abrioux 2021-10-02 01:05:42 +02:00
parent 5e5473028b
commit 540ff7826e
1 changed files with 8 additions and 0 deletions

View File

@ -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