Update NFS mounts for desktops

This commit is contained in:
Salt 2021-11-15 11:07:11 -06:00
parent bca5c1993d
commit 9680705689

View File

@ -4,11 +4,11 @@
# Home desktops
- hosts: device_roles_workstation
tasks:
- name: assure pi-media-1 nfs mountpoint
file: path=/nfs/pi-media-1.desu.ltd state=directory
- name: assure vm-fs-1 nfs mountpoint
file: path=/nfs/vm-fs-1.home.mgmt.desu.ltd state=directory
tags: [ desktop, nfs ]
- name: assure pi-media-1 nfs mount
mount: path=/nfs/pi-media-1.desu.ltd src=pi-media-1.desu.ltd:/data/shared/media fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=mounted
- name: assure vm-fs-1 nfs mount
mount: path=/nfs/vm-fs-1.home.mgmt.desu.ltd src=vm-fs-1.home.mgmt.desu.ltd:/nfs/media/media fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=mounted
tags: [ desktop, nfs ]
roles:
- role: udev