mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1916 from ceph/purge-cluster-fix
purge-cluster: default lvm_volumes if not definedpull/1955/head
commit
254c12b07e
|
@ -216,6 +216,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: default lvm_volumes if not defined
|
||||
set_fact:
|
||||
lvm_volumes: []
|
||||
when: lvm_volumes is not defined
|
||||
|
||||
- name: get osd numbers
|
||||
shell: "if [ -d /var/lib/ceph/osd ] ; then ls /var/lib/ceph/osd | sed 's/.*-//' ; fi"
|
||||
register: osd_ids
|
||||
|
|
Loading…
Reference in New Issue