mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Merge pull request #183 from veger/fix_es_java_opts
Fix setting ES_JAVA_OPTS
This commit is contained in:
@@ -34,9 +34,7 @@ ES_HEAP_SIZE={{es_heap_size}}
|
|||||||
|
|
||||||
# Additional Java OPTS
|
# Additional Java OPTS
|
||||||
{% if es_java_opts is defined and es_java_opts %}
|
{% if es_java_opts is defined and es_java_opts %}
|
||||||
{% for java_opt in es_java_opts %}
|
ES_JAVA_OPTS="{{es_java_opts | default([]) | join(' ')}}"
|
||||||
ES_JAVA_OPTS="{{java_opt}}"
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
#ES_JAVA_OPTS=
|
#ES_JAVA_OPTS=
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user