umount disks before reboot

This commit is contained in:
Sandwich 2024-10-30 23:48:36 +01:00
parent 2a1a47ecc1
commit ec55701f00

View File

@ -1,4 +1,9 @@
--- ---
- name: Unmount /mnt recursively
ansible.builtin.command: umount -l /mnt
changed_when: result.rc == 0
register: result
- name: Setup Cleanup - name: Setup Cleanup
when: hypervisor == "proxmox" when: hypervisor == "proxmox"
delegate_to: localhost delegate_to: localhost