Add umount for non RHEL systems
This commit is contained in:
parent
d97f0cfff8
commit
cb3f36a040
@ -1,4 +1,10 @@
|
||||
---
|
||||
- name: Unmount /mnt recursively
|
||||
when: os not in ['rhel8', 'rhel9']
|
||||
ansible.builtin.command: umount -R /mnt
|
||||
changed_when: result.rc == 0
|
||||
register: result
|
||||
|
||||
- name: Setup Cleanup
|
||||
when: hypervisor == "proxmox"
|
||||
delegate_to: localhost
|
||||
|
Loading…
Reference in New Issue
Block a user