mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1066 from eduardegorov/egorove_missed_file_for_PR_#1024
Adjust 'devices' list check for being not defined in purge-cluster pl…pull/1069/head
commit
08415f49c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue