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

15 lines
443 B
Plaintext
Raw Permalink Normal View History

2023-12-25 18:35:54 +01:00
[Unit]
Description=Mount storagebox with sshfs
After=network-online.target
Wants=network-online.target
[Install]
WantedBy=default.target
[Mount]
2024-03-02 22:33:02 +01:00
What={{ STORAGEBOX_WHAT }}
Where={{ STORAGEBOX_WHERE }}
Type=cifs
2024-03-02 22:33:02 +01:00
Options=_netdev,iocharset=utf8,username={{ STORAGEBOX_USERNAME }},password={{ STORAGEBOX_PASSWORD }},seal,x-systemd.automount{% if STORAGEBOX_EXTRA_OPTS is defined %},{{ STORAGEBOX_EXTRA_OPTS|join(',') }}{% endif %}
2023-12-25 18:35:54 +01:00
TimeoutSec=60