mirror of https://github.com/ceph/ceph-ansible.git
purge-docker-cluster.yml: Default lvm_volumes
We were failing when that variable is unset; purge-cluster.yml contains this workaround. Signed-off-by: Zack Cerza <zack@redhat.com>pull/3991/head
parent
2f141a6e80
commit
9b4339a2ba
|
@ -332,6 +332,11 @@
|
||||||
register: remove_osd_mountpoints
|
register: remove_osd_mountpoints
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
- name: default lvm_volumes if not defined
|
||||||
|
set_fact:
|
||||||
|
lvm_volumes: []
|
||||||
|
when: lvm_volumes is not defined
|
||||||
|
|
||||||
- name: zap and destroy osds created by ceph-volume with lvm_volumes
|
- name: zap and destroy osds created by ceph-volume with lvm_volumes
|
||||||
ceph_volume:
|
ceph_volume:
|
||||||
data: "{{ item.data }}"
|
data: "{{ item.data }}"
|
||||||
|
|
Loading…
Reference in New Issue