Disable the ml xpack.
This commit is contained in:
parent
ade4e06eb2
commit
8648bce91d
|
@ -39,6 +39,7 @@ elasticsearch_destructive_requires_name: 'true'
|
|||
elasticsearch_define_heap_size: False
|
||||
elasticsearch_heap_size: 2g
|
||||
elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true -Dfile.encoding=UTF-8'
|
||||
elasticsearch_java_io_tmpdir: '/var/tmp'
|
||||
elasticsearch_additional_conf:
|
||||
- { name: 'search.max_buckets', value: '65535'}
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@ ES_JAVA_OPTS="{{ elasticsearch_additional_java_opts }}"
|
|||
# Path to the GC log file
|
||||
#ES_GC_LOG_FILE=/var/log/elasticsearch/gc.log
|
||||
|
||||
ES_TMPDIR={{ elasticsearch_java_io_tmpdir }}
|
||||
|
||||
################################
|
||||
# Elasticsearch service
|
||||
################################
|
||||
|
|
|
@ -21,7 +21,7 @@ cluster.name: {{ elasticsearch_cluster_name }}
|
|||
# Use a descriptive name for the node:
|
||||
#
|
||||
node.name: {{ ansible_fqdn }}
|
||||
{% if elasticsearch_major_version >= 7 and elasticsearch_minor_version >= 9 %}
|
||||
{% if elasticsearch_major_version >= 7 %}
|
||||
xpack.ml.enabled: false
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue