Merge branch 'master' of adellam/ansible-roles into master

This commit is contained in:
Andrea Dell'Amico 2020-01-08 18:50:08 +01:00 committed by Gitea
commit 2130aa96aa
1 changed files with 2 additions and 1 deletions

View File

@ -72,12 +72,13 @@ myorigin = {{ ansible_fqdn }}
# #
# Note: you need to stop/start Postfix when this parameter changes. # Note: you need to stop/start Postfix when this parameter changes.
# #
{% if not postfix_use_inet_interfaces %} {% if postfix_use_inet_interfaces %}
{% if not postfix_smtpd_server %} {% if not postfix_smtpd_server %}
inet_interfaces = localhost inet_interfaces = localhost
inet_protocols = ipv4 inet_protocols = ipv4
{% else %} {% else %}
inet_interfaces = {% for int in postfix_inet_interfaces %}{{ int }}{% if not loop.last %}, {% endif %}{% endfor %} inet_interfaces = {% for int in postfix_inet_interfaces %}{{ int }}{% if not loop.last %}, {% endif %}{% endfor %}
inet_protocols = {% for proto in postfix_inet_protocols %}{{ proto }}{% if not loop.last %}, {% endif %}{% endfor %} inet_protocols = {% for proto in postfix_inet_protocols %}{{ proto }}{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %} {% endif %}
{% endif %} {% endif %}