From 7e27395d93e6f1720a00fab735df4e5040a9d914 Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Fri, 8 Nov 2019 19:39:27 -0500 Subject: [PATCH] add sshfs reconnect option to prevent random disconnect --- ansible/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/main.yml b/ansible/main.yml index 36df9fe..976f20c 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -118,12 +118,14 @@ - name: Install media networking packages apt: name: + - beets - nfs-common - wireguard force_apt_get: yes update_cache: yes # Manually do wireguard config https://wiki.debian.org/Wireguard + # Manuall do beets config https://wiki.archlinux.org/index.php/Beets # NFS core config # ASSUMES /bigdata IS CONFIGURED (make sure dir is 755) @@ -183,7 +185,7 @@ src: pew-media@dirtycow.vtluug.org:/nfs/cistern/share/media path: /media-vtluug fstype: fuse.sshfs - opts: reconnect,ServerAliveInterval=45,allow_other,ro,_netdev,IdentityFile=/home/paul/.ssh/id_rsa_fast + opts: reconnect,allow_other,ro,_netdev,IdentityFile=/home/paul/.ssh/id_rsa_fast state: mounted - name: Add Docker GPG key