mirror of https://github.com/ceph/ceph-ansible.git
purge-cluster: fix syntax when deleting dmcrypt devices
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1250/head
parent
e05df64fd0
commit
b2a6f095f1
|
@ -407,7 +407,7 @@
|
|||
|
||||
- name: delete dm-crypt devices if any
|
||||
command: dmsetup remove {{ item }}
|
||||
with_items: encrypted_ceph_partuuid.stdout_lines
|
||||
with_items: "{{ encrypted_ceph_partuuid.stdout_lines }}"
|
||||
when: "{{ encrypted_ceph_partuuid.stdout_lines | length > 0 }}"
|
||||
|
||||
- name: zap osd disks
|
||||
|
|
Loading…
Reference in New Issue