Add virtual domains via template
This commit is contained in:
parent
8746080b2b
commit
73de99bbda
1 changed files with 7 additions and 0 deletions
7
templates/postfix/conf.d/virtual_domains.j2
Normal file
7
templates/postfix/conf.d/virtual_domains.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
{% if postfix_virtual_domains is defined %}
|
||||
{% for domain in postfix_virtual_domains %}
|
||||
{{ "%-50s %s" | format(domain.name, "#domain") }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
Loading…
Reference in a new issue