add sshfs reconnect option to prevent random disconnect

master
Paul Walko 2019-11-08 19:39:27 -05:00
parent 888f3e0a5b
commit 7e27395d93
1 changed files with 3 additions and 1 deletions

View File

@ -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