Add another directory to NFS server

This commit is contained in:
Salt 2021-03-01 15:12:19 -06:00
parent 975cd7280c
commit 16a1f583fe

View File

@ -45,8 +45,9 @@
- role: nfs - role: nfs
vars: vars:
nfs_exports: nfs_exports:
- "/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/k8s 192.168.102.0/24(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)"
tags: [ pis, storage, nfs ] tags: [ pis, storage, nfs ]
# Multipurpose Pis running unbound # Multipurpose Pis running unbound
- hosts: pi-mp-1.desu.ltd,pi-mp-2.desu.ltd - hosts: pi-mp-1.desu.ltd,pi-mp-2.desu.ltd