Fixes and Typos

This commit is contained in:
phil 2023-04-19 12:56:49 +02:00
parent 8df0ffd7e2
commit ad563c8881
7 changed files with 9 additions and 7 deletions

View file

@ -0,0 +1,27 @@
### {{ ansible_managed }}
# Example
#
# postfix_aliases:
# - domain:
# name: mydomain.org
# comment: |
# # Mydomain.org
# # List of Aliases
# aliases:
# - name: foo
# dest:
# - "alice@yourdomain.org
{% if postfix_aliases is defined %}
{% for domain in postfix_aliases %}
### {{ domain.name}}
{% if domain.comment is defined %}
{{ domain.comment }}
{% endif %}
{% for alias in domain.aliases %}
{{ "%-50s %s" | format(alias.name + '@' + domain.name, alias.dest | join(',')) }}
{% endfor %}
{% endfor %}
{% endif %}