2016-02-15 14:22:08 +01:00
|
|
|
---
|
|
|
|
elasticsearch_repo_key: https://packages.elastic.co/GPG-KEY-elasticsearch
|
2017-03-06 18:37:33 +01:00
|
|
|
elasticsearch_major_version: 2
|
|
|
|
elasticsearch_repo_version: '{{ elasticsearch_major_version }}.x'
|
2017-02-23 22:21:46 +01:00
|
|
|
elasticsearch_repo: 'deb http://packages.elastic.co/elasticsearch/{{ elasticsearch_repo_version }}/debian stable main'
|
2017-03-06 18:37:33 +01:00
|
|
|
#elasticsearch_major_version: 5
|
2017-02-23 22:21:46 +01:00
|
|
|
#elasticsearch_repo: 'deb https://artifacts.elastic.co/packages/{{ elasticsearch_repo_version }}/apt stable main'
|
2016-02-15 14:22:08 +01:00
|
|
|
elasticsearch_packages:
|
|
|
|
- elasticsearch
|
|
|
|
|
2017-02-14 16:48:50 +01:00
|
|
|
elasticsearch_package_state: 'present'
|
2016-02-15 14:22:08 +01:00
|
|
|
elasticsearch_cluster_name: 'Elasticsearch Cluster'
|
|
|
|
elasticsearch_enabled: True
|
|
|
|
elasticsearch_http_port: 9200
|
2016-02-15 15:52:30 +01:00
|
|
|
elasticsearch_data_dir: /var/lib/elasticsearch
|
|
|
|
elasticsearch_log_dir: /var/log/elasticsearch
|
2017-02-23 22:21:46 +01:00
|
|
|
elasticsearch_bind_ip: 0.0.0.0
|
2016-02-15 15:52:30 +01:00
|
|
|
elasticsearch_discovery_host_list: '["127.0.0.1", "[::1]"]'
|
2017-02-14 16:48:50 +01:00
|
|
|
elasticsearch_define_majority_of_nodes: True
|
|
|
|
elasticsearch_majority_of_nodes: 1
|
|
|
|
elasticsearch_real_cluster: False
|
2016-02-15 15:52:30 +01:00
|
|
|
elasticsearch_recover_after_nodes: 3
|
|
|
|
elasticsearch_max_local_storage_nodes: 1
|
2017-02-14 16:48:50 +01:00
|
|
|
elasticsearch_destructive_requires_name: 'true'
|
2016-02-15 15:52:30 +01:00
|
|
|
elasticsearch_define_heap_size: False
|
|
|
|
elasticsearch_heap_size: 2g
|
2017-02-23 22:21:46 +01:00
|
|
|
elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true'
|
2017-02-14 16:48:50 +01:00
|
|
|
elasticsearch_max_open_files: 65536
|
2016-06-30 16:09:51 +02:00
|
|
|
|
2017-02-14 16:48:50 +01:00
|
|
|
# bin/plugin for 2.x, bin/elasticsearch-plugin for 5.x
|
2017-02-23 22:21:46 +01:00
|
|
|
#elasticsearch_plugin_bin: /usr/share/elasticsearch/bin/elasticsearch-plugin
|
|
|
|
elasticsearch_plugin_bin: /usr/share/elasticsearch/bin/plugin
|
2017-02-14 16:48:50 +01:00
|
|
|
#elasticsearch_plugins:
|
|
|
|
# - { name: 'royrusso/elasticsearch-HQ', state: 'present' }
|
|
|
|
|
2017-02-23 22:21:46 +01:00
|
|
|
# elasticsearch 5 not supported yet, so set it to False when installing 5.x
|
|
|
|
elasticsearch_hq_install: True
|
2017-02-14 16:48:50 +01:00
|
|
|
elasticsearch_hq_plugin:
|
2017-02-01 17:12:00 +01:00
|
|
|
- { name: 'royrusso/elasticsearch-HQ', state: 'present' }
|