Manage postfix aliases

This commit is contained in:
2019-11-28 21:47:08 -06:00
parent 084e118a93
commit 2c7182fe37
4 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,13 @@
# {{ 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 %}