From 9c10affb69a89a018ea16f191dd7008e89d6c911 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 13 Feb 2019 12:52:47 +0100 Subject: [PATCH] site.yml: run ceph-validate before facts/defaults roles ceph-validate must be run before any other role. Signed-off-by: Guillaume Abrioux --- site-container.yml.sample | 4 ++-- site.yml.sample | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site-container.yml.sample b/site-container.yml.sample index 293fe31d9..31a9b8b60 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -62,13 +62,13 @@ 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' }}" + - import_role: + name: ceph-validate - import_role: name: ceph-defaults tags: [with_pkg, fetch_container_image] - import_role: name: ceph-facts - - import_role: - name: ceph-validate - import_role: name: ceph-infra - import_role: diff --git a/site.yml.sample b/site.yml.sample index 2ee2fe814..914e2b2ac 100644 --- a/site.yml.sample +++ b/site.yml.sample @@ -51,12 +51,12 @@ - ansible_distribution_major_version|int >= 23 tasks: + - import_role: + name: ceph-validate - import_role: name: ceph-defaults - import_role: name: ceph-facts - - import_role: - name: ceph-validate - import_role: name: ceph-infra