Browse Source

umount

next_step
Luigi Cruz 3 years ago
parent
commit
7c553e6d8b
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      ansible/tasks/umount.yaml

+ 6
- 1
ansible/tasks/umount.yaml View File

@@ -1,4 +1,9 @@
---
- name: Umount pseudo filesystems
connection: local
shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}'
shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}{{ item }}'
with_items:
- /proc
- /dev/pts
- /dev
- /sys

Loading…
Cancel
Save