]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Add missing parenthesis to conditional 683/head
authorZack Cerza <zack@redhat.com>
Thu, 16 Jun 2022 21:51:51 +0000 (15:51 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 16 Jun 2022 21:51:51 +0000 (15:51 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/testnode/tasks/zap_disks.yml

index 06f9eab315eebd27c426a79ddd98f96612a877a1..22ed9a84301b326d1169e4d4450b7bc7340f9664 100644 (file)
@@ -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