--- - name: Umount pseudo filesystems connection: local shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}'