Make an example in the README more readable.
This commit is contained in:
parent
7d94121017
commit
fee6270f66
1 changed files with 13 additions and 2 deletions
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue