From 4d70b3621ffcd49184d6ae492bc21cf6b2244d58 Mon Sep 17 00:00:00 2001 From: Ben England Date: Tue, 12 Apr 2016 09:49:44 -0400 Subject: [PATCH] devices var is defined in context of osds role --- purge-cluster.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/purge-cluster.yml b/purge-cluster.yml index 496afec28..ee68d5c71 100644 --- a/purge-cluster.yml +++ b/purge-cluster.yml @@ -96,6 +96,7 @@ fail: msg: "OSD automatic discovery was detected, purge cluster does not support this scenario. If you want to purge the cluster, manually provide the list of devices in group_vars/osds using the devices variable." when: + osd_group_name in group_names and devices is not defined and osd_auto_discovery