mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Merge pull request #98 from winder/master
Make an example in the README more readable.
This commit is contained in:
13
README.md
13
README.md
@@ -137,7 +137,18 @@ recommended in any multi node cluster configuration.
|
|||||||
```
|
```
|
||||||
- hosts: master_nodes
|
- hosts: master_nodes
|
||||||
roles:
|
roles:
|
||||||
- { role: elasticsearch, es_instance_name: "node1", es_heap_size: "1g", es_config: {cluster.name: "test-cluster", "discovery.zen.ping.multicast.enabled": false, discovery.zen.ping.unicast.hosts: "elastic02:9300", http.port: 9200, transport.tcp.port: 9300, node.data: false, node.master: true, bootstrap.mlockall: false, discovery.zen.ping.multicast.enabled: false } }
|
- { role: elasticsearch, es_instance_name: "node1", es_heap_size: "1g",
|
||||||
|
es_config: {
|
||||||
|
cluster.name: "test-cluster",
|
||||||
|
"discovery.zen.ping.multicast.enabled": false,
|
||||||
|
discovery.zen.ping.unicast.hosts: "elastic02:9300",
|
||||||
|
http.port: 9200,
|
||||||
|
transport.tcp.port: 9300,
|
||||||
|
node.data: false,
|
||||||
|
node.master: true,
|
||||||
|
bootstrap.mlockall: false,
|
||||||
|
discovery.zen.ping.multicast.enabled: false }
|
||||||
|
}
|
||||||
vars:
|
vars:
|
||||||
es_scripts: false
|
es_scripts: false
|
||||||
es_templates: false
|
es_templates: false
|
||||||
|
|||||||
Reference in New Issue
Block a user