mirror of https://github.com/ceph/ceph-ansible.git
site.yml: run ceph-validate before facts/defaults roles
ceph-validate must be run before any other role. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3603/head
parent
ac4aded4aa
commit
9c10affb69
|
@ -62,13 +62,13 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
container_binary: "{{ 'podman' if (podman_binary.stat.exists and ansible_distribution == 'Fedora') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') else 'docker' }}"
|
container_binary: "{{ 'podman' if (podman_binary.stat.exists and ansible_distribution == 'Fedora') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') else 'docker' }}"
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: ceph-validate
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-defaults
|
name: ceph-defaults
|
||||||
tags: [with_pkg, fetch_container_image]
|
tags: [with_pkg, fetch_container_image]
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-facts
|
name: ceph-facts
|
||||||
- import_role:
|
|
||||||
name: ceph-validate
|
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-infra
|
name: ceph-infra
|
||||||
- import_role:
|
- import_role:
|
||||||
|
|
|
@ -51,12 +51,12 @@
|
||||||
- ansible_distribution_major_version|int >= 23
|
- ansible_distribution_major_version|int >= 23
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- import_role:
|
||||||
|
name: ceph-validate
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-defaults
|
name: ceph-defaults
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-facts
|
name: ceph-facts
|
||||||
- import_role:
|
|
||||||
name: ceph-validate
|
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-infra
|
name: ceph-infra
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue