add sshfs reconnect option to prevent random disconnect
parent
888f3e0a5b
commit
7e27395d93
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue