]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: don't zap 'sr' devices 582/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Fri, 14 Aug 2020 13:27:53 +0000 (15:27 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Fri, 14 Aug 2020 13:27:53 +0000 (15:27 +0200)
We don't need zapping of libvirt dvd devices

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
roles/testnode/tasks/zap_disks.yml

index 0897204dd8bb8c97709b8ad7a079abc9cb536f4a..a5a6d346c72984deb606258596e41d55199a1edf 100644 (file)
@@ -57,6 +57,7 @@
     - item.key not in root_disk
     - '"loop" not in item.key'
     - '"ram" not in item.key'
+    - '"sr" not in item.key'
 
 ## See https://tracker.ceph.com/issues/22354 and
 ## https://github.com/ceph/ceph/pull/20400
@@ -67,6 +68,7 @@
     - item.key not in root_disk
     - '"loop" not in item.key'
     - '"ram" not in item.key'
+    - '"sr" not in item.key'
 
 - name: Remove all LVM data
   shell: "dmsetup remove_all --force"