2015-10-22 19:09:53 +01:00
|
|
|
---
|
|
|
|
|
#Test ability to deploy multiple instances to a machine
|
2015-11-26 17:26:28 +00:00
|
|
|
- name: Elasticsearch Multi tests
|
2015-10-22 19:09:53 +01:00
|
|
|
hosts: localhost
|
|
|
|
|
roles:
|
2015-11-26 15:58:48 +00:00
|
|
|
- { role: elasticsearch, es_instance_name: "master", es_data_dir: "/opt/elasticsearch", es_heap_size: "1g", es_config: { "discovery.zen.ping.multicast.enabled": false, discovery.zen.ping.unicast.hosts: "localhost:9300", http.port: 9200, transport.tcp.port: 9300, node.data: false, node.master: true, bootstrap.mlockall: true, discovery.zen.ping.multicast.enabled: false } }
|
2015-11-25 15:28:09 +00:00
|
|
|
- { role: elasticsearch, es_instance_name: "node1", es_config: { "discovery.zen.ping.multicast.enabled": false, discovery.zen.ping.unicast.hosts: "localhost:9300", http.port: 9201, transport.tcp.port: 9301, node.data: true, node.master: false, discovery.zen.ping.multicast.enabled: false } }
|
2015-11-26 14:45:00 +00:00
|
|
|
vars:
|
|
|
|
|
es_scripts: true
|
2015-12-14 19:34:09 +00:00
|
|
|
es_templates: true
|
|
|
|
|
es_plugin_dir: "/opt/elasticsearch/plugins"
|
|
|
|
|
#Plugins installed for this test are specified in .kitchen.yml under suite
|