From c1e3bbbe04863536e88d4d79afbbb85253e7d3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 11 Dec 2021 11:56:27 +0000 Subject: roles/nfsd: Consistent configuration with other roles --- roles/nfsd/templates/exports.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/nfsd/templates/exports.j2') 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 %} -- cgit v1.2.3