From ecc3907d98fa539c461701325228d61df7189fc4 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 10 Dec 2025 16:18:55 -0500 Subject: [PATCH] testnode: Don't zap snap partitions Signed-off-by: David Galloway --- roles/testnode/tasks/zap_disks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3