Introduce more configuration variables

This commit is contained in:
phil 2023-04-19 12:47:39 +02:00
parent 237cfae5a5
commit 8df0ffd7e2
6 changed files with 61 additions and 4 deletions

View file

@ -0,0 +1,7 @@
### {{ ansible_managed }}
{% if postfix_authorized_submit_users is defined %}
{% for user in postfix_authorized_submit_users %}
{{ user }}
{% endfor %}
{% endif %}

View file

@ -0,0 +1,7 @@
### {{ managed_by_ansible }}
{% if postfix_canonical_maps is defined %}
{% for map in postfix_canonical_maps %}
{{ "%-30s %s" | format(map.src, map.dest) }}
{% endfor %}
{% endif %}

View file

@ -0,0 +1,7 @@
### {{ managed_by_ansible }}
{% if postfix_sender_canonical_maps is defined %}
{% for map in postfix_sender_canonical_maps %}
{{ "%-30s %s" | format(map.src, map.dest) }}
{% endfor %}
{% endif %}