]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge-cluster: fix syntax when deleting dmcrypt devices
authorAndrew Schoen <aschoen@redhat.com>
Thu, 26 Jan 2017 17:28:30 +0000 (11:28 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 26 Jan 2017 17:28:30 +0000 (11:28 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
infrastructure-playbooks/purge-cluster.yml

index e09b9552eaeb709fb9536bcbfefc63030b31b420..133d25fef258cd967d6ca0a488a6a05c56ae8d7d 100644 (file)
 
   - 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