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

10 lines
220 B
Text
Raw Normal View History

2023-04-19 12:56:49 +02:00
### {{ ansible_managed }}
2023-03-24 12:45:12 +01:00
{% if postfix_domains is defined %}
{% for domain in postfix_domains %}
{% if domain.type == "virtual" %}
2023-03-24 12:45:12 +01:00
{{ "%-50s %s" | format(domain.name, "#domain") }}
{% endif %}
2023-03-24 12:45:12 +01:00
{% endfor %}
{% endif %}