Manage postfix aliases
This commit is contained in:
13
roles/postfix/templates/aliases.j2
Normal file
13
roles/postfix/templates/aliases.j2
Normal 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 %}
|
Reference in New Issue
Block a user