ansible/roles/postfix/templates/aliases.j2

14 lines
289 B
Plaintext
Raw Permalink Normal View History

2019-11-29 03:47:08 +00:00
# {{ ansible_managed }}
{% if postfix_aliases is defined and
postfix_aliases is mapping and
postfix_aliases | length %}
{% for k, v in postfix_aliases.items() %}
{% if v is string %}
{{ k }} {{ v }}
{% else %}
{{ k }} {{ v | join(', ') }}
{% endif %}
{% endfor %}
{% endif %}