Fixed es_mail_config again
first check is es_mail_config is defined
This commit is contained in:
parent
c79fd2ef09
commit
cf4da019d0
1 changed files with 2 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ xpack.graph.enabled: false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if es_mail_config['account'] is defined %}
|
{% if es_mail_config is defined %}
|
||||||
xpack.notification.email:
|
xpack.notification.email:
|
||||||
account:
|
account:
|
||||||
{{ es_mail_config['account'] }}:
|
{{ es_mail_config['account'] }}:
|
||||||
|
|
@ -72,5 +72,4 @@ xpack.notification.email:
|
||||||
user: {{ es_mail_config['user'] }}
|
user: {{ es_mail_config['user'] }}
|
||||||
password: {{ es_mail_config['pass'] }}
|
password: {{ es_mail_config['pass'] }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue