Exclude local user from mounts.

This commit is contained in:
Andreas B. Mundt 2020-12-17 10:28:24 +01:00
parent c3ca8606d6
commit 77c8c26e38

View file

@ -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="~"