Get bind mount working hopefully.
This commit is contained in:
parent
dc4403014c
commit
33fb6a7c6f
1 changed files with 5 additions and 2 deletions
|
@ -53,12 +53,15 @@
|
||||||
tags:
|
tags:
|
||||||
- mount
|
- mount
|
||||||
|
|
||||||
|
- name: create /srv/home directory
|
||||||
|
file: path=/srv/home state=directory owner=root group=root
|
||||||
|
|
||||||
- name: bind mount home volume
|
- name: bind mount home volume
|
||||||
mount: >
|
mount: >
|
||||||
name=/home
|
name=/home
|
||||||
src=/srv/home
|
src=/srv/home
|
||||||
fstype=bind
|
fstype=none
|
||||||
opts="usrjquota=aquota.user,grpjquota=aquota.group,noatime,noexec,nosuid,nodev"
|
opts=bind
|
||||||
passno=0
|
passno=0
|
||||||
dump=0
|
dump=0
|
||||||
state=mounted
|
state=mounted
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue