aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nfsd/templates/exports.j2
blob: c579fed28460b726fa0797cbf867f6551546b995 (plain) (blame)
1
2
3
4
5
6
7
8
# managed by Ansible

{% for host in groups.servers %}
{% if host in nfsd_shared_dirs %}
{% set h = hostvars[host] %}
{{ 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 %}
remember that computers suck.