strip spaces to avoid wrong indent

This commit is contained in:
Julien Mailleret 2019-07-12 09:53:12 +02:00
parent 9df5f7f357
commit 226df614eb
No known key found for this signature in database
GPG key ID: F065093271C8DE71

View file

@ -50,8 +50,8 @@ xpack.notification.email:
auth: {{ es_mail_config['require_auth'] }}
host: {{ es_mail_config['host'] }}
port: {{ es_mail_config['port'] }}
{% if es_mail_config['require_auth'] == true %}
{% if es_mail_config['require_auth'] == true -%}
user: {{ es_mail_config['user'] }}
password: {{ es_mail_config['pass'] }}
{% endif %}
{%- endif %}
{% endif %}