### {{ ansible_managed }} {% for domain in postfix_domains %} {% if domain.type == "relay" %} {% if domain.comment is defined %} # {{ domain.comment }} {% endif %} {{ "%-50s %s" | format(domain.name, domain.relay_host) }} {% endif %} {% endfor %}