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

9 lines
218 B
Django/Jinja

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