2015-10-22 19:09:53 +01: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-01-31 08:14:24 +01:00
|
|
|
tasks:
|
|
|
|
|
- include: elasticsearch/test/integration/debug.yml
|
2017-01-18 11:20:23 +00:00
|
|
|
vars:
|
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
|
2015-10-22 19:09:53 +01:00
|
|
|
roles:
|
2017-01-18 11:40:19 +00:00
|
|
|
- { role: elasticsearch, 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 } }
|
2017-01-18 11:20:23 +00:00
|
|
|
|
|
|
|
|
- name: Elasticsearch Multi test - data on 9201
|
|
|
|
|
hosts: localhost
|
2018-01-31 08:14:24 +01:00
|
|
|
tasks:
|
|
|
|
|
- include: elasticsearch/test/integration/debug.yml
|
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
|
2017-01-18 11:20:23 +00:00
|
|
|
roles:
|
2017-01-18 11:40:19 +00:00
|
|
|
- { role: elasticsearch, 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 } }
|
2017-01-18 11:20:23 +00:00
|
|
|
#Plugins installed for this test are specified in .kitchen.yml under suite
|