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 }}"
|
||||
mountpoint="/media/%(USER)/winhome"
|
||||
options="dir_mode=0750,file_mode=0640"
|
||||
/>
|
||||
><not><user>ansible</user></not></volume>
|
||||
<volume
|
||||
fstype="cifs"
|
||||
server="{{ smb_server }}"
|
||||
path="{{ smb_share }}"
|
||||
mountpoint="/media/%(USER)/winshare"
|
||||
options="dir_mode=0750,file_mode=0640"
|
||||
/>
|
||||
><not><user>ansible</user></not></volume>
|
||||
<!--volume
|
||||
fstype="fuse"
|
||||
path="sshfs#%(USER)@homes:"
|
||||
mountpoint="/home/%(USER)"
|
||||
options="StrictHostKeyChecking=no,allow_root"
|
||||
/>
|
||||
><not><user>ansible</user></not></volume>
|
||||
<volume
|
||||
path="/home/%(USER)"
|
||||
mountpoint="~"
|
||||
|
|
Loading…
Add table
Reference in a new issue