fixes
This commit is contained in:
parent
806293ac1a
commit
8363d9ae15
@ -10,11 +10,11 @@
|
|||||||
register: bigboot_adjacent_lvm
|
register: bigboot_adjacent_lvm
|
||||||
|
|
||||||
- name: Map the device to its mount point if applicable
|
- name: Map the device to its mount point if applicable
|
||||||
ansible.builtin.set_fact: >
|
ansible.builtin.set_fact:
|
||||||
bigboot_adjacent_lvm_devices: "{{ bigboot_adjacent_lvm_devices | default([])
|
bigboot_adjacent_lvm_devices: "{{ bigboot_adjacent_lvm_devices | default([]) \
|
||||||
| combine({item | split(' ') | first: ansible_facts['mounts']
|
| combine({item | split(' ') | first: ansible_facts['mounts'] \
|
||||||
| selectattr('device', 'equalto', item | split(' ') | first)
|
| selectattr('device', 'equalto', item | split(' ') | first) \
|
||||||
| map(attribute='mount')}) }}"
|
| map(attribute='mount')}) }}"
|
||||||
loop: "{{ bigboot_adjacent_lvm['stdout_lines'] }}"
|
loop: "{{ bigboot_adjacent_lvm['stdout_lines'] }}"
|
||||||
|
|
||||||
- name: Capture the device name of the mounted logical volumes
|
- name: Capture the device name of the mounted logical volumes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user