25 lines
No EOL
562 B
Django/Jinja
25 lines
No EOL
562 B
Django/Jinja
|
|
{% if es_config %}
|
|
{{ es_config | to_nice_yaml }}
|
|
{% endif %}
|
|
|
|
{% if es_config['cluster.name'] is not defined %}
|
|
cluster.name: elasticsearch
|
|
{% endif %}
|
|
|
|
{% 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 }}
|
|
|
|
path.data: {{ data_dir }}
|
|
|
|
path.work: {{ work_dir }}
|
|
|
|
path.logs: {{ log_dir }}
|
|
|
|
path.plugins: {{ plugin_dir }} |