Added changes to add required functionality and fix a bug

This commit is contained in:
Jeffrey Everling 2018-04-24 12:51:03 +02:00
parent d1348a4ab6
commit 34f08130e1
3 changed files with 24 additions and 5 deletions

View file

@ -23,6 +23,10 @@ path.data: {{ data_dirs | array_to_str }}
path.logs: {{ log_dir }}
path.repo: {{ path_repo }}
action.auto_create_index: {{ action_auto_create_index }}
{% if es_enable_xpack %}
{% if not "security" in es_xpack_features %}
xpack.security.enabled: false
@ -44,3 +48,18 @@ xpack.ml.enabled: false
xpack.graph.enabled: false
{% endif %}
{% endif %}
{% if es_mail_config['account'] is defined %}
xpack.notification.email:
account:
{{ es_mail_config['account'] }}:
profile: {{ es_mail_config['profile'] }}
email_defaults:
from: {{ es_mail_config['from'] }}
smtp:
auth: {{ es_mail_config['require_auth'] }}
host: {{ es_mail_config['host'] }}
port: {{ es_mail_config['port'] }}
user: {{ es_mail_config['user'] }}
password: {{ es_mail_config['pass'] }}
{% endif %}