diff options
author | binary <me@rgoncalves.se> | 2021-03-03 14:57:10 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-03 14:57:10 +0100 |
commit | dde73d89a725ad764509aa623c945cfa789ae2e4 (patch) | |
tree | bfcdc3325c3edabd9ee51caeab430974f2ce2b15 /roles/nfsd/templates/etc-exports.j2 | |
parent | 3147612e821c234c8df7a82760b66a6c373f799a (diff) | |
download | infrastructure-dde73d89a725ad764509aa623c945cfa789ae2e4.tar.gz |
Add nfsclient role for mounting data in VM from hypervisor
Diffstat (limited to 'roles/nfsd/templates/etc-exports.j2')
-rw-r--r-- | roles/nfsd/templates/etc-exports.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |