ansible-role-postfix/templates/postfix/conf.d/virtual_domains.j2
2023-04-19 12:56:49 +02:00

9 lines
220 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 %}