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

23 lines
547 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):
2015-11-24 17:32:36 +00:00
path.conf: {{ instance_config_directory }}
2015-11-25 15:28:09 +00:00
path.data: {{ data_dir }}
2015-11-25 15:28:09 +00:00
path.work: {{ work_dir }}
2015-11-25 18:31:03 +00:00
path.logs: {{ log_dir }}