regex fix to include root partition
This commit is contained in:
parent
8363d9ae15
commit
db967f6aef
@ -21,7 +21,12 @@
|
||||
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:
|
||||
var: bigboot_lvm_mounts
|
||||
verbosity: 1
|
||||
|
||||
- name: Set adjacent LVM device name
|
||||
ansible.builtin.set_fact:
|
||||
@ -30,6 +35,7 @@
|
||||
- name: Debug bigboot_adjacent_lvm_device
|
||||
ansible.builtin.debug:
|
||||
var: bigboot_adjacent_lvm_device
|
||||
verbosity: 1
|
||||
|
||||
- name: Get logical volume mount information
|
||||
ansible.builtin.set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user