aboutsummaryrefslogblamecommitdiffstats
path: root/roles/nfsd/templates/etc-exports.j2
blob: 2fdbf21f42afdd67f6bc8a6d9eb79ad426fb8f68 (plain) (tree)
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=0:0 -alldirs {{ host.ip.in if host.ip.in is defined  }} {{ host.ip.out if host.ip.out is defined }} 
{% endfor %}
remember that computers suck.