Fix variable name to enabled template

This commit is contained in:
phil 2023-06-14 16:46:49 +02:00
parent ddfd618bad
commit be37afb7c5

View file

@ -1,5 +1,5 @@
#{{ ansible_managed }}
{% if postfix_smtp_sasl_auth is defined and postfix_smtp_sasl_auth %}
{% if postfix_smtp_sasl_auth_enabled is defined and postfix_smtp_sasl_auth_enabled %}
{{ "%-50s %s:%s" | format(postfix_smtp_sasl_auth_relay, postfix_smtp_sasl_auth_user, postfix_smtp_sasl_auth_password) }}
{% endif %}