ansible-role-postfix/templates/postfix/conf.d/transport_relay.j2
2023-03-24 20:12:26 +01:00

10 lines
248 B
Django/Jinja

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