diff --git a/ansible/tasks/umount.yaml b/ansible/tasks/umount.yaml index dbf1414..4867c72 100644 --- a/ansible/tasks/umount.yaml +++ b/ansible/tasks/umount.yaml @@ -1,4 +1,9 @@ --- - name: Umount pseudo filesystems connection: local - shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}' \ No newline at end of file + shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}{{ item }}' + with_items: + - /proc + - /dev/pts + - /dev + - /sys \ No newline at end of file