Introduce es_java_home variable to allow setting JAVA_HOME env var in defaults file.

This commit is contained in:
Tim Lieberman 2020-03-18 16:34:52 -07:00
parent c115a70543
commit a7e7618050
2 changed files with 5 additions and 0 deletions

View file

@ -6,7 +6,11 @@
ES_HOME={{es_home}}
# Elasticsearch Java path
{% if es_java_home | length > 0 %}
JAVA_HOME={{ es_java_home }}
{% else %}
#JAVA_HOME=
{% endif %}
# Elasticsearch configuration directory
ES_PATH_CONF={{ es_conf_dir }}