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:
|
||||
- mount
|
||||
|
||||
- name: create /srv/home directory
|
||||
file: path=/srv/home state=directory owner=root group=root
|
||||
|
||||
- name: bind mount home volume
|
||||
mount: >
|
||||
name=/home
|
||||
src=/srv/home
|
||||
fstype=bind
|
||||
opts="usrjquota=aquota.user,grpjquota=aquota.group,noatime,noexec,nosuid,nodev"
|
||||
fstype=none
|
||||
opts=bind
|
||||
passno=0
|
||||
dump=0
|
||||
state=mounted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue