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

10 lines
216 B
Text
Raw Normal View History

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