Update elasticsearch.yml to render node.data and .ingest vars
This commit is contained in:
parent
9020e06ec8
commit
a46b681dcf
@ -21,6 +21,12 @@ discovery.seed_hosts:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
node.master: {{ elasticsearch_node_master|lower }}
|
node.master: {{ elasticsearch_node_master|lower }}
|
||||||
|
{% if elasticsearch_node_data|lower == 'false' %}
|
||||||
|
node.data: false
|
||||||
|
{% endif %}
|
||||||
|
{% if elasticsearch_node_ingest|lower == 'false' %}
|
||||||
|
node.ingest: false
|
||||||
|
{% endif %}
|
||||||
discovery.seed_hosts:
|
discovery.seed_hosts:
|
||||||
{% for item in elasticsearch_discovery_nodes %}
|
{% for item in elasticsearch_discovery_nodes %}
|
||||||
- {{ item }}
|
- {{ item }}
|
||||||
@ -34,9 +40,8 @@ cluster.routing.allocation.disk.watermark.low: 500mb
|
|||||||
cluster.routing.allocation.disk.watermark.high: 300mb
|
cluster.routing.allocation.disk.watermark.high: 300mb
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# XPACK Security
|
|
||||||
|
|
||||||
{% if elasticsearch_xpack_security %}
|
{% if elasticsearch_xpack_security %}
|
||||||
|
# XPACK Security
|
||||||
xpack.security.enabled: true
|
xpack.security.enabled: true
|
||||||
xpack.security.transport.ssl.enabled: true
|
xpack.security.transport.ssl.enabled: true
|
||||||
xpack.security.transport.ssl.verification_mode: certificate
|
xpack.security.transport.ssl.verification_mode: certificate
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user