diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-11 11:56:27 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-11 11:56:27 +0000 |
commit | c1e3bbbe04863536e88d4d79afbbb85253e7d3b4 (patch) | |
tree | 9b9eecdef56cdf16dbef3e9b63e1e70312770a31 /roles/nfsd/templates/exports.j2 | |
parent | 13ef8e5744442b6a6d61a96888f87a1c96c44ba6 (diff) | |
download | rules-c1e3bbbe04863536e88d4d79afbbb85253e7d3b4.tar.gz |
roles/nfsd: Consistent configuration with other roles
Diffstat (limited to 'roles/nfsd/templates/exports.j2')
-rw-r--r-- | roles/nfsd/templates/exports.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nfsd/templates/exports.j2 b/roles/nfsd/templates/exports.j2 index 78ee61f..c579fed 100644 --- a/roles/nfsd/templates/exports.j2 +++ b/roles/nfsd/templates/exports.j2 @@ -3,6 +3,6 @@ {% for host in groups.servers %} {% if host in nfsd_shared_dirs %} {% set h = hostvars[host] %} -{{ nfsd_data_dir }}/{{ h.inventory_hostname }} -maproot=root {{ h.__ip.internal if h.__ip.internal is defined }} {{ h.__ip.external if h.__ip.external is defined }} +{{ nfsd_dir }}/{{ h.inventory_hostname }} -maproot=root {{ h.__ip.internal if h.__ip.internal is defined }} {{ h.__ip.external if h.__ip.external is defined }} {% endif %} {% endfor %} |