From 9fd528068372be8428489efb099899bf68e0b814 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 18 Jun 2024 15:52:31 -0400 Subject: [PATCH] regex fix --- tasks/capture_lv_device_details.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/capture_lv_device_details.yml b/tasks/capture_lv_device_details.yml index 05d8429..cca14c0 100644 --- a/tasks/capture_lv_device_details.yml +++ b/tasks/capture_lv_device_details.yml @@ -21,7 +21,7 @@ ansible.builtin.set_fact: bigboot_lvm_mounts: "{{ bigboot_lvm_mounts | default([]) + [item['key']] }}" loop: "{{ bigboot_adjacent_lvm_devices | dict2items }}" - when: item['value'] | regex_search('^/[a-zA-Z]') + when: item['value'] | regex_search('[/a-zA-Z]') - name: Debug bigboot_lvm_mounts ansible.builtin.debug: