mirror of https://github.com/ceph/ceph-ansible.git
tests: ensure ca-certificates is up to date
otherwise the `rpm_key` module fails because it can't verify the certificate. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/6942/head
parent
a890d6a043
commit
c5a8343417
|
@ -4,6 +4,7 @@
|
||||||
become: yes
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
|
||||||
- name: check if it is Atomic host
|
- name: check if it is Atomic host
|
||||||
stat: path=/run/ostree-booted
|
stat: path=/run/ostree-booted
|
||||||
register: stat_ostree
|
register: stat_ostree
|
||||||
|
@ -23,6 +24,14 @@
|
||||||
until: result is succeeded
|
until: result is succeeded
|
||||||
when: not is_atomic | bool
|
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
|
- name: centos based systems - configure repos
|
||||||
block:
|
block:
|
||||||
- name: disable fastest mirror detection
|
- name: disable fastest mirror detection
|
||||||
|
|
Loading…
Reference in New Issue