Create bogus mx list via host_vars
This commit is contained in:
parent
d786e5ab09
commit
6978dcf9b7
4 changed files with 13 additions and 11 deletions
7
templates/postfix/conf.d/bogus_mx.j2
Normal file
7
templates/postfix/conf.d/bogus_mx.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
### {{ managed_by_ansible }}
|
||||
|
||||
{% if postfix_bogus_mx is defined %}
|
||||
{% for mx in postfix_bogus_mx %}
|
||||
{{ "%-30s %s" | format(mx.src, mx.msg) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue