umount disks before reboot
This commit is contained in:
parent
2a1a47ecc1
commit
ec55701f00
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user