25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
302 B

  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"