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
Guillaume Abrioux 2019-02-13 12:52:47 +01:00 committed by mergify[bot]
parent ac4aded4aa
commit 9c10affb69
2 changed files with 4 additions and 4 deletions

View File

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

View File

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