Mount up NFS over ZT on desktop machines
This commit is contained in:
parent
25ce121337
commit
171d769d17
@ -16,6 +16,13 @@
|
|||||||
# Required for Randovania to access Dolphin memory
|
# Required for Randovania to access Dolphin memory
|
||||||
capability: cap_sys_ptrace=eip
|
capability: cap_sys_ptrace=eip
|
||||||
tags: [ desktop, python, cap ]
|
tags: [ desktop, python, cap ]
|
||||||
|
tasks:
|
||||||
|
- name: assure pi-storage-1 nfs mountpoint
|
||||||
|
file: path=/nfs/pi-storage-1.desu.ltd state=directory owner=root mode=0755
|
||||||
|
tags: [ desktop, nfs ]
|
||||||
|
- name: assure pi-storage-1 nfs mount
|
||||||
|
mount: path=/nfs/pi-storage-1.desu.ltd src=pi-storage-1.desu.ltd:/srv/nfs fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2" state=mounted
|
||||||
|
tags: [ desktop, nfs ]
|
||||||
roles:
|
roles:
|
||||||
- role: backup
|
- role: backup
|
||||||
vars:
|
vars:
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
- role: nfs
|
- role: nfs
|
||||||
vars:
|
vars:
|
||||||
nfs_exports:
|
nfs_exports:
|
||||||
|
- "/srv/nfs 172.23.0.0/16(ro,no_root_squash,sync)"
|
||||||
- "/srv/nfs/bulk 192.168.0.0/16(rw,no_root_squash,sync) 172.23.0.0/16(rw,no_root_squash,sync)"
|
- "/srv/nfs/bulk 192.168.0.0/16(rw,no_root_squash,sync) 172.23.0.0/16(rw,no_root_squash,sync)"
|
||||||
- "/srv/nfs/bulk/media 192.168.0.0/16(rw,no_root_squash,sync) 172.23.0.0/16(rw,no_root_squash,sync)"
|
- "/srv/nfs/bulk/media 192.168.0.0/16(rw,no_root_squash,sync) 172.23.0.0/16(rw,no_root_squash,sync)"
|
||||||
- "/srv/nfs/k8s 192.168.102.0/24(rw,no_root_squash,sync) 172.23.0.0/16(ro,no_root_squash,sync)"
|
- "/srv/nfs/k8s 192.168.102.0/24(rw,no_root_squash,sync) 172.23.0.0/16(ro,no_root_squash,sync)"
|
||||||
|
Loading…
Reference in New Issue
Block a user