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