More new stuff

This commit is contained in:
2025-01-27 17:32:23 -05:00
parent 7a93d8d72a
commit 6eedbd74e0
13 changed files with 231 additions and 4 deletions

View File

@ -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: