ansible-role-postfix_mta/templates/aliases.j2

9 lines
208 B
Django/Jinja

# {{ ansible_managed }}
{% for alias, redirect in postfix_aliases.items() %}
{% if redirect is string %}
{{ alias }}: {{ redirect }}
{% else %}
{{ alias }}: {{ redirect|join(',') }}
{% endif %}
{% endfor %}