From 9a83bd6f4f01a0939a59b4c564010b4b72fc2988 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 21 Apr 2023 09:29:28 +0200 Subject: [PATCH] improve sshfs robustness --- roles/system/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/system/tasks/main.yml b/roles/system/tasks/main.yml index d5f421f..646296a 100644 --- a/roles/system/tasks/main.yml +++ b/roles/system/tasks/main.yml @@ -56,4 +56,4 @@ path: "/mnt/atlas" state: mounted fstype: fuse.sshfs - opts: "noauto,x-systemd.automount,_netdev,idmap=user,allow_other,reconnect,ro" + opts: "x-systemd.automount,_netdev,idmap=user,allow_other,reconnect,ro,ServerAliveInterval=15,ServerAliveCountMax=3"