# managed by Ansible {% 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 }} {% endif %} {% endfor %}