2015-11-25 15:28:09 +00:00
|
|
|
{{ es_config | to_nice_yaml }}
|
2015-10-22 19:09:53 +01:00
|
|
|
|
2015-11-25 15:28:09 +00:00
|
|
|
{% if es_config['cluster.name'] is not defined %}
|
|
|
|
|
cluster.name: elasticsearch
|
2015-10-22 19:09:53 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
2015-11-25 15:28:09 +00:00
|
|
|
{% if es_config['node.name'] is not defined %}
|
|
|
|
|
node.name: {{inventory_hostname}}-{{es_instance_name}}
|
2015-10-22 19:09:53 +01:00
|
|
|
{% 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-10-22 19:09:53 +01:00
|
|
|
|
2015-11-25 15:28:09 +00:00
|
|
|
path.data: {{ data_dir }}
|
2015-10-22 19:09:53 +01:00
|
|
|
|
2015-11-25 15:28:09 +00:00
|
|
|
path.work: {{ work_dir }}
|
2015-10-22 19:09:53 +01:00
|
|
|
|
2015-11-25 18:31:03 +00:00
|
|
|
path.logs: {{ log_dir }}
|