From f33e4c453d18d8fa22dc818a6d3f4c8e7e41b7dd Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 16 Jun 2022 15:51:51 -0600 Subject: [PATCH] testnode: Add missing parenthesis to conditional Signed-off-by: Zack Cerza --- 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 06f9eab3..22ed9a84 100644 --- a/roles/testnode/tasks/zap_disks.yml +++ b/roles/testnode/tasks/zap_disks.yml @@ -32,7 +32,7 @@ with_items: "{{ ansible_mounts }}" when: - item.mount != '/' and - not item is match("/(boot|home|opt|root|srv|tmp|usr/local|var|.snapshots") + not item is match("/(boot|home|opt|root|srv|tmp|usr/local|var|.snapshots)") ## http://tracker.ceph.com/issues/20533 ## Trusty version of wipefs lacks --force option -- 2.47.3