mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 09:07:03 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
11
roles/elasticsearch/templates/elasticsearch.yml.j2
Normal file
11
roles/elasticsearch/templates/elasticsearch.yml.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
cluster.name: {{ es_cluster_name }}
|
||||
network.host: 0.0.0.0
|
||||
http.port: {{ es_port }}
|
||||
node.name: {{ es_node_name }}
|
||||
path.data: {{ es_data_dir }}
|
||||
path.logs: /var/log/elasticsearch
|
||||
path.repo: [ {{ es_backup_dir }} ]
|
||||
action.auto_create_index: false
|
||||
{% if es_major_version is defined and es_major_version is version('7','>=') %}
|
||||
discovery.type: single-node
|
||||
{% endif %}
|
Reference in New Issue
Block a user