infrastructure/ansible/plays/templates/mount-storagebox.mount.j2

15 lines
382 B
Django/Jinja

[Unit]
Description=Mount storagebox with sshfs
After=network-online.target
Wants=network-online.target
[Install]
WantedBy=default.target
[Mount]
What=//u309229-sub6.your-storagebox.de/u309229-sub6
Where=/var/home/backup/storagebox
Type=cifs
Options=_netdev,iocharset=utf8,username=u309229-sub6,password={{ cifs.password }},seal,uid=1001,gid=1001,x-systemd.automount
TimeoutSec=60