add sshfs reconnect option to prevent random disconnect
parent
888f3e0a5b
commit
7e27395d93
|
@ -118,12 +118,14 @@
|
||||||
- name: Install media networking packages
|
- name: Install media networking packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
- beets
|
||||||
- nfs-common
|
- nfs-common
|
||||||
- wireguard
|
- wireguard
|
||||||
force_apt_get: yes
|
force_apt_get: yes
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
# Manually do wireguard config https://wiki.debian.org/Wireguard
|
# Manually do wireguard config https://wiki.debian.org/Wireguard
|
||||||
|
# Manuall do beets config https://wiki.archlinux.org/index.php/Beets
|
||||||
|
|
||||||
# NFS core config
|
# NFS core config
|
||||||
# ASSUMES /bigdata IS CONFIGURED (make sure dir is 755)
|
# ASSUMES /bigdata IS CONFIGURED (make sure dir is 755)
|
||||||
|
@ -183,7 +185,7 @@
|
||||||
src: pew-media@dirtycow.vtluug.org:/nfs/cistern/share/media
|
src: pew-media@dirtycow.vtluug.org:/nfs/cistern/share/media
|
||||||
path: /media-vtluug
|
path: /media-vtluug
|
||||||
fstype: fuse.sshfs
|
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
|
state: mounted
|
||||||
|
|
||||||
- name: Add Docker GPG key
|
- name: Add Docker GPG key
|
||||||
|
|
Loading…
Reference in New Issue