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