otherwise the `rpm_key` module fails because it can't verify the
certificate.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
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