From 7c553e6d8ba26fbf75707b98fd5f75f41cccfecf Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Fri, 7 May 2021 18:28:09 -0300 Subject: [PATCH] umount --- ansible/tasks/umount.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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