From: sunjunnan Date: Tue, 6 Dec 2022 03:21:18 +0000 (+0000) Subject: testnode: fix umount condition match error X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c78f340ab6291f28510224628e202ccc22c1b5b1;p=ceph-cm-ansible.git testnode: fix umount condition match error Signed-off-by: Sun Junnan Signed-off-by: Yang Honggang --- diff --git a/roles/testnode/tasks/zap_disks.yml b/roles/testnode/tasks/zap_disks.yml index a56f41fd..560c3f77 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 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)") ## http://tracker.ceph.com/issues/20533 ## Trusty version of wipefs lacks --force option