ansible-role-postfix/templates/postfix/conf.d/relay_domains.j2

10 lines
224 B
Text
Raw Normal View History

{{ 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 %}