ansible-role-elasticsearch/defaults/main.yml

44 lines
1.4 KiB
YAML
Raw Normal View History

2015-05-11 16:51:33 +02:00
---
2017-01-06 11:34:19 +00:00
es_major_version: "5.x"
2017-08-15 15:00:43 +01:00
es_version: "5.5.1"
es_version_lock: false
es_use_repository: true
2017-08-17 10:05:32 +01:00
es_templates_fileglob: "files/templates/*.json"
2017-01-13 11:59:31 +00:00
es_apt_key: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
es_apt_url: "deb https://artifacts.elastic.co/packages/{{ es_major_version }}/apt stable main"
2017-01-13 12:18:33 +00:00
es_apt_url_old: "deb http://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main"
es_start_service: true
2016-07-20 13:51:14 +01:00
es_java_install: true
2016-04-16 11:22:27 +01:00
update_java: false
es_restart_on_change: true
2015-05-22 21:11:33 +02:00
es_plugins_reinstall: false
es_scripts: false
es_templates: false
es_user: elasticsearch
es_group: elasticsearch
es_config: {}
es_config_log4j2: log4j2.properties.j2
2015-11-25 15:28:09 +00:00
#Need to provide default directories
es_pid_dir: "/var/run/elasticsearch"
es_data_dirs: "/var/lib/elasticsearch"
2015-11-25 15:28:09 +00:00
es_log_dir: "/var/log/elasticsearch"
es_max_open_files: 65536
es_max_threads: "{{ 2048 if ( es_version | version_compare('6.0.0', '<')) else 8192 }}"
2017-01-17 11:00:25 +00:00
es_max_map_count: 262144
2016-07-20 14:57:21 +01:00
es_allow_downgrades: false
es_enable_xpack: false
2017-06-26 11:24:20 +02:00
es_xpack_features: ["alerting","monitoring","graph","ml","security"]
#These are used for internal operations performed by ansible.
#They do not effect the current configuration
es_api_host: "localhost"
2016-10-27 00:20:23 +02:00
es_api_port: 9200
# Since ansible 2.2 the following variables need to be defined
# to allow the role to be conditionally played with a when condition.
pid_dir: ''
log_dir: ''
conf_dir: ''
data_dirs: ''
# JVM custom parameters
es_jvm_custom_parameters: ''