purge-cluster: fix syntax when deleting dmcrypt devices

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1250/head
Andrew Schoen 2017-01-26 11:28:30 -06:00
parent e05df64fd0
commit b2a6f095f1
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@
- name: delete dm-crypt devices if any - name: delete dm-crypt devices if any
command: dmsetup remove {{ item }} 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 }}" when: "{{ encrypted_ceph_partuuid.stdout_lines | length > 0 }}"
- name: zap osd disks - name: zap osd disks