More new stuff
This commit is contained in:
@ -9,10 +9,15 @@
|
||||
- device: "/dev/mapper/system-root"
|
||||
size: 81229615104
|
||||
|
||||
- device: "/dev/mapper/system-applog"
|
||||
size: 81229615104
|
||||
|
||||
tasks:
|
||||
- name: Get the mount point info
|
||||
- name: Get the mount point info # noqa: ignore-errors
|
||||
ansible.builtin.set_fact:
|
||||
shrink_lv_mount_info: "{{ ansible_facts.mounts | selectattr('device', 'equalto', shrink_lv_devices[0].device) }}"
|
||||
shrink_lv_mount_info: "{{ ansible_facts.mounts | selectattr('device', 'equalto', item.device) | first }}"
|
||||
ignore_errors: true
|
||||
loop: "{{ shrink_lv_devices }}"
|
||||
|
||||
- name: Debug shrink_lv_mount_info
|
||||
ansible.builtin.debug:
|
||||
|
Reference in New Issue
Block a user