diff --git a/playbooks/sshfs.mount.j2 b/playbooks/sshfs.mount.j2 index 4d29dfc..4343ccf 100644 --- a/playbooks/sshfs.mount.j2 +++ b/playbooks/sshfs.mount.j2 @@ -10,6 +10,7 @@ WantedBy=default.target Type=fuse.sshfs What="{{ [username,'@',hostname,':',remotepath,item,'/' ]|join() }}" Where="{{[ localpath,item,'/']|join() }}" +Options="_netdev,reconnect,ServerAliveInterval=30,ServerAliveCountMax=5,x-systemd.automount" RestartSec=20 Restart=on-failure