aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nfsd/templates/etc-exports.j2
blob: 55250ddb003ad6d47f66a2109a7502073cdcd398 (plain) (blame)
1
2
3
4
5
6
7
8

# /etc/exports
# managed by Ansible

{% 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 }} 
{% endfor %}
remember that computers suck.