From: Ben England Date: Tue, 12 Apr 2016 13:49:44 +0000 (-0400) Subject: devices var is defined in context of osds role X-Git-Tag: v1.0.4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F710%2Fhead;p=ceph-ansible.git devices var is defined in context of osds role --- 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