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

25 lines
562 B
Text
Raw Normal View History

{% if es_config %}
2015-11-25 15:28:09 +00:00
{{ es_config | to_nice_yaml }}
{% endif %}
2015-11-25 15:28:09 +00:00
{% if es_config['cluster.name'] is not defined %}
cluster.name: elasticsearch
{% endif %}
2015-11-25 15:28:09 +00:00
{% if es_config['node.name'] is not defined %}
node.name: {{inventory_hostname}}-{{es_instance_name}}
{% endif %}
#################################### Paths ####################################
# Path to directory containing configuration (this file and logging.yml):
path.conf: {{ conf_dir }}
2015-11-25 15:28:09 +00:00
path.data: {{ data_dir }}
2015-11-25 15:28:09 +00:00
path.work: {{ work_dir }}
path.logs: {{ log_dir }}
path.plugins: {{ plugin_dir }}