Adjust 'devices' list check for being not defined in purge-cluster pl…
pull/1069/head
Leseb 2016-11-03 11:57:00 +01:00 committed by GitHub
commit 08415f49c5
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,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/{{ osd_group_name }} using the devices variable."
when:
devices is not defined and
devices|length == 0 and
osd_auto_discovery
- name: get osd numbers