diff --git a/roles/cleanup/tasks/main.yml b/roles/cleanup/tasks/main.yml index 8a9ea07..8684e01 100644 --- a/roles/cleanup/tasks/main.yml +++ b/roles/cleanup/tasks/main.yml @@ -1,4 +1,9 @@ --- +- name: Unmount /mnt recursively + ansible.builtin.command: umount -l /mnt + changed_when: result.rc == 0 + register: result + - name: Setup Cleanup when: hypervisor == "proxmox" delegate_to: localhost