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

10 lines
226 B
Plaintext
Raw Normal View History

{{ ansible_managed | comment }}
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 %}