21 lines
400 B
YAML
21 lines
400 B
YAML
|
---
|
||
|
- name: "Create a chroot. Bind mount /dev into /mnt."
|
||
|
mount:
|
||
|
state: "mounted"
|
||
|
src: "/dev"
|
||
|
path: "/mnt/dev"
|
||
|
opts: "bind"
|
||
|
fstype: "none"
|
||
|
- name: "Mount /sys into /mnt."
|
||
|
mount:
|
||
|
state: "mounted"
|
||
|
src: "sys"
|
||
|
path: "/mnt/sys"
|
||
|
fstype: "sysfs"
|
||
|
- name: "Mount /proc into /mnt."
|
||
|
mount:
|
||
|
state: "mounted"
|
||
|
src: "proc"
|
||
|
path: "/mnt/proc"
|
||
|
fstype: "proc"
|