From: David Galloway Date: Wed, 10 Dec 2025 21:18:55 +0000 (-0500) Subject: testnode: Don't zap snap partitions X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ecc3907d98fa539c461701325228d61df7189fc4;p=ceph-cm-ansible.git testnode: Don't zap snap partitions Signed-off-by: David Galloway --- diff --git a/roles/testnode/tasks/zap_disks.yml b/roles/testnode/tasks/zap_disks.yml index 560c3f77..74077e10 100644 --- a/roles/testnode/tasks/zap_disks.yml +++ b/roles/testnode/tasks/zap_disks.yml @@ -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