Exclude local user from mounts.
This commit is contained in:
parent
c3ca8606d6
commit
77c8c26e38
1 changed files with 3 additions and 3 deletions
|
@ -45,20 +45,20 @@
|
||||||
path="{{ smb_home }}"
|
path="{{ smb_home }}"
|
||||||
mountpoint="/media/%(USER)/winhome"
|
mountpoint="/media/%(USER)/winhome"
|
||||||
options="dir_mode=0750,file_mode=0640"
|
options="dir_mode=0750,file_mode=0640"
|
||||||
/>
|
><not><user>ansible</user></not></volume>
|
||||||
<volume
|
<volume
|
||||||
fstype="cifs"
|
fstype="cifs"
|
||||||
server="{{ smb_server }}"
|
server="{{ smb_server }}"
|
||||||
path="{{ smb_share }}"
|
path="{{ smb_share }}"
|
||||||
mountpoint="/media/%(USER)/winshare"
|
mountpoint="/media/%(USER)/winshare"
|
||||||
options="dir_mode=0750,file_mode=0640"
|
options="dir_mode=0750,file_mode=0640"
|
||||||
/>
|
><not><user>ansible</user></not></volume>
|
||||||
<!--volume
|
<!--volume
|
||||||
fstype="fuse"
|
fstype="fuse"
|
||||||
path="sshfs#%(USER)@homes:"
|
path="sshfs#%(USER)@homes:"
|
||||||
mountpoint="/home/%(USER)"
|
mountpoint="/home/%(USER)"
|
||||||
options="StrictHostKeyChecking=no,allow_root"
|
options="StrictHostKeyChecking=no,allow_root"
|
||||||
/>
|
><not><user>ansible</user></not></volume>
|
||||||
<volume
|
<volume
|
||||||
path="/home/%(USER)"
|
path="/home/%(USER)"
|
||||||
mountpoint="~"
|
mountpoint="~"
|
||||||
|
|
Loading…
Add table
Reference in a new issue