ansible-roles/roles/elasticsearch/templates/elasticsearch.yml.j2

12 lines
334 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
cluster.name: {{ es_cluster_name }}
2022-01-25 15:00:05 +01:00
node.name: {{ es_node_name }}
path.data: {{ es_root_dir }}/data
path.logs: {{ es_root_dir }}/logs
2021-12-01 19:13:34 +01:00
network.host: 0.0.0.0
http.port: {{ es_port }}
2022-01-25 15:00:05 +01:00
path.repo: [ {{ es_root_dir }}/backup ]
2021-12-01 19:13:34 +01:00
action.auto_create_index: false
2022-01-25 15:00:05 +01:00
{% if es_version is version('7','>=') %}
2021-12-01 19:13:34 +01:00
discovery.type: single-node
{% endif %}