From 4008d700a4d921420e0d5ea6ace32f6dce7c1f51 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 13 Apr 2018 10:55:38 -0500 Subject: [PATCH] site.yml: move validate task to it's own play This needs to be in it's own play with ceph-defaults included so that I can validate things that might be defaulted in that role. Signed-off-by: Andrew Schoen --- site.yml.sample | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/site.yml.sample b/site.yml.sample index 9162b8b10..d69482989 100644 --- a/site.yml.sample +++ b/site.yml.sample @@ -69,10 +69,32 @@ - ansible_distribution == 'Fedora' - ansible_distribution_major_version|int >= 23 +- hosts: + - mons + - agents + - osds + - mdss + - rgws + - nfss + - restapis + - rbdmirrors + - clients + - mgrs + - iscsi-gws + + gather_facts: false + + roles: + - ceph-defaults + + tasks: - name: validate vars validate: mode: permissive + - fail: + msg: "failing for testing" + - hosts: mons gather_facts: false become: True