]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Don't zap snap partitions
authorDavid Galloway <david.galloway@ibm.com>
Wed, 10 Dec 2025 21:18:55 +0000 (16:18 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 10 Dec 2025 21:18:55 +0000 (16:18 -0500)
Signed-off-by: David Galloway <david.galloway@ibm.com>
roles/testnode/tasks/zap_disks.yml

index 560c3f775bee418baf69abc2cb2fb36609ad3d2f..74077e10c25d44a4ee08dc9cd5dfb2dde7ab61e0 100644 (file)
@@ -33,7 +33,7 @@
   with_items: "{{ ansible_mounts }}"
   when:
     - item.mount != '/' and
-      not item.mount is match("/(boot|home|opt|root|srv|tmp|usr/local|var|.snapshots)")
+      not item.mount is match("/(boot|home|opt|root|srv|tmp|usr/local|var|.snapshots|snap)")
 
 ## http://tracker.ceph.com/issues/20533
 ## Trusty version of wipefs lacks --force option