From: Zack Cerza Date: Thu, 16 Jun 2022 21:51:51 +0000 (-0600) Subject: testnode: Add missing parenthesis to conditional X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f33e4c453d18d8fa22dc818a6d3f4c8e7e41b7dd;p=ceph-cm-ansible.git testnode: Add missing parenthesis to conditional Signed-off-by: Zack Cerza --- 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