]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
devices var is defined in context of osds role 710/head
authorBen England <bengland@redhat.com>
Tue, 12 Apr 2016 13:49:44 +0000 (09:49 -0400)
committerBen England <bengland@redhat.com>
Tue, 12 Apr 2016 13:49:44 +0000 (09:49 -0400)
purge-cluster.yml

index 496afec2846acae59f03702652d83eb513f0859c..ee68d5c717bb197894270ddba88348f6b5de6f77 100644 (file)
@@ -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