diff --git a/playbooks/desktop.yml b/playbooks/desktop.yml index eff9792..2ad9e8c 100755 --- a/playbooks/desktop.yml +++ b/playbooks/desktop.yml @@ -16,6 +16,13 @@ # Required for Randovania to access Dolphin memory capability: cap_sys_ptrace=eip 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: - role: backup vars: diff --git a/playbooks/pimp.yml b/playbooks/pimp.yml index 9e50538..9389f49 100755 --- a/playbooks/pimp.yml +++ b/playbooks/pimp.yml @@ -55,6 +55,7 @@ - role: nfs vars: 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/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)"