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