You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mount.yaml 302 B

4 years ago
3 years ago
123456789
  1. ---
  2. - name: Mount pseudo filesystems
  3. connection: local
  4. shell: |
  5. ROOTFS_DIR={{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}
  6. mount -t proc proc "${ROOTFS_DIR}/proc"
  7. mount --bind /dev "${ROOTFS_DIR}/dev"
  8. mount --bind /dev/pts "${ROOTFS_DIR}/dev/pts"
  9. mount --bind /sys "${ROOTFS_DIR}/sys"