ansible-roles/roles/postfix/templates/relay_auth.j2

6 lines
258 B
Django/Jinja

# {{ ansible_managed }}
{% if postfix_relay_host is defined and postfix_relay_host != False and postfix_relay_user is defined and postfix_relay_pass is defined %}
{{ postfix_relay_host }} {{ postfix_relay_user }}:{{ postfix_relay_pass }}
{% endif %}