From: Andrew Schoen Date: Thu, 26 Jan 2017 17:28:30 +0000 (-0600) Subject: purge-cluster: fix syntax when deleting dmcrypt devices X-Git-Tag: v2.2.0rc1~53^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b2a6f095f1199a318a7ffaaf00f643811d336b02;p=ceph-ansible.git purge-cluster: fix syntax when deleting dmcrypt devices Signed-off-by: Andrew Schoen --- diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index e09b9552e..133d25fef 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -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