2015-10-22 19:09:53 +01:00
|
|
|
---
|
2018-06-19 12:15:10 +02:00
|
|
|
# Test ability to deploy multiple instances to a machine
|
2017-01-18 11:20:23 +00:00
|
|
|
- name: Elasticsearch Multi test - master on 9200
|
2015-10-22 19:09:53 +01:00
|
|
|
hosts: localhost
|
2018-06-19 12:15:10 +02:00
|
|
|
post_tasks:
|
2018-01-31 08:14:24 +01:00
|
|
|
- include: elasticsearch/test/integration/debug.yml
|
2018-06-19 21:17:10 +02:00
|
|
|
roles:
|
|
|
|
|
- elasticsearch
|
2017-01-18 11:20:23 +00:00
|
|
|
vars:
|
2018-06-19 21:17:10 +02:00
|
|
|
es_instance_name: "master"
|
|
|
|
|
es_data_dirs: ["/opt/elasticsearch/master"]
|
|
|
|
|
es_config:
|
|
|
|
|
discovery.zen.ping.unicast.hosts: "localhost:9300"
|
|
|
|
|
http.port: 9200
|
|
|
|
|
transport.tcp.port: 9300
|
|
|
|
|
node.data: false
|
|
|
|
|
node.master: true
|
|
|
|
|
bootstrap.memory_lock: true
|
2018-06-13 10:03:40 +02:00
|
|
|
es_enable_xpack: false
|
2017-01-18 11:20:23 +00:00
|
|
|
es_scripts: true
|
|
|
|
|
es_templates: true
|
|
|
|
|
es_heap_size: "1g"
|
2017-01-18 11:40:19 +00:00
|
|
|
es_api_port: 9200
|
2017-03-16 23:59:13 +00:00
|
|
|
es_plugins:
|
|
|
|
|
- plugin: ingest-geoip
|
2017-01-18 11:20:23 +00:00
|
|
|
|
|
|
|
|
- name: Elasticsearch Multi test - data on 9201
|
|
|
|
|
hosts: localhost
|
2018-06-19 12:15:10 +02:00
|
|
|
post_tasks:
|
2018-01-31 08:14:24 +01:00
|
|
|
- include: elasticsearch/test/integration/debug.yml
|
2018-06-19 21:17:10 +02:00
|
|
|
roles:
|
|
|
|
|
- role: elasticsearch
|
2015-11-26 14:45:00 +00:00
|
|
|
vars:
|
2018-06-13 10:03:40 +02:00
|
|
|
es_enable_xpack: false
|
2015-11-26 14:45:00 +00:00
|
|
|
es_scripts: true
|
2015-12-14 19:34:09 +00:00
|
|
|
es_templates: true
|
2017-01-17 12:00:49 +00:00
|
|
|
es_heap_size: "1g"
|
2017-01-18 11:40:19 +00:00
|
|
|
es_api_port: 9201
|
2017-03-16 23:59:13 +00:00
|
|
|
es_plugins:
|
|
|
|
|
- plugin: ingest-geoip
|
2018-06-19 21:17:10 +02:00
|
|
|
es_instance_name: "node1"
|
|
|
|
|
es_data_dirs:
|
|
|
|
|
- "/opt/elasticsearch/data-1"
|
|
|
|
|
- "/opt/elasticsearch/data-2"
|
|
|
|
|
es_config:
|
|
|
|
|
discovery.zen.ping.unicast.hosts: "localhost:9300"
|
|
|
|
|
http.port: 9201
|
|
|
|
|
transport.tcp.port: 9301
|
|
|
|
|
node.data: true
|
|
|
|
|
node.master: false
|