]> git-server-git.apps.pok.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>
Fri, 27 Jan 2017 13:56:18 +0000 (07:56 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit b2a6f095f1199a318a7ffaaf00f643811d336b02)

infrastructure-playbooks/purge-cluster.yml

index 4e8346ec94609a8dfe8292374dad0c60df8012e0..019e8a722fc8abd9e0450cae2c49b33c9b18215e 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