From dde73d89a725ad764509aa623c945cfa789ae2e4 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 3 Mar 2021 14:57:10 +0100 Subject: Add nfsclient role for mounting data in VM from hypervisor --- roles/nfsd/templates/etc-exports.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/nfsd/templates/etc-exports.j2') diff --git a/roles/nfsd/templates/etc-exports.j2 b/roles/nfsd/templates/etc-exports.j2 index 55250dd..2fdbf21 100644 --- a/roles/nfsd/templates/etc-exports.j2 +++ b/roles/nfsd/templates/etc-exports.j2 @@ -4,5 +4,5 @@ {% for host in groups["servers"] %} {% set host = dict(hostvars[host]) %} -/data/nfs/{{ host.ansible_host }} -maproot=root -alldirs {{ host.ip.in if host.ip.in is defined }} {{ host.ip.out if host.ip.out is defined }} +/data/nfs/{{ host.ansible_host }} -maproot=0:0 -alldirs {{ host.ip.in if host.ip.in is defined }} {{ host.ip.out if host.ip.out is defined }} {% endfor %} -- cgit v1.2.3