Move develop into main #2
@ -10,8 +10,11 @@
|
||||
register: bigboot_adjacent_lvm
|
||||
|
||||
- name: Map the device to its mount point if applicable
|
||||
ansible.builtin.set_fact:
|
||||
bigboot_adjacent_lvm_devices: "{{ bigboot_adjacent_lvm_devices | default([]) | combine({item | split(' ') | first: ansible_facts['mounts'] | selectattr('device', 'equalto', item | split(' ') | first) | map(attribute='mount')}) }}"
|
||||
ansible.builtin.set_fact: >
|
||||
bigboot_adjacent_lvm_devices: "{{ bigboot_adjacent_lvm_devices | default([])
|
||||
| combine({item | split(' ') | first: ansible_facts['mounts']
|
||||
| selectattr('device', 'equalto', item | split(' ') | first)
|
||||
| map(attribute='mount')}) }}"
|
||||
loop: "{{ bigboot_adjacent_lvm['stdout_lines'] }}"
|
||||
|
||||
- name: Capture the device name of the mounted logical volumes
|
||||
|
Loading…
x
Reference in New Issue
Block a user