Skip to content
Snippets Groups Projects
Commit adc55af3 authored by caoyuan's avatar caoyuan
Browse files

Add elasticsearch port

and ps to make the port configurable

Change-Id: I919767469087b9579e3d2f0965df835e7b71c327
parent 2d18b63e
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ node.data: true ...@@ -10,6 +10,7 @@ node.data: true
discovery.zen.ping.unicast.hosts: [{% for host in groups['elasticsearch'] %}"{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}"{% if not loop.last %},{% endif %}{% endfor %}] discovery.zen.ping.unicast.hosts: [{% for host in groups['elasticsearch'] %}"{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}"{% if not loop.last %},{% endif %}{% endfor %}]
discovery.zen.minimum_master_nodes: {{ minimum_master_nodes }} discovery.zen.minimum_master_nodes: {{ minimum_master_nodes }}
http.port: {{ elasticsearch_port }}
gateway.expected_nodes: {{ num_nodes }} gateway.expected_nodes: {{ num_nodes }}
gateway.recover_after_time: "5m" gateway.recover_after_time: "5m"
gateway.recover_after_nodes: {{ recover_after_nodes }} gateway.recover_after_nodes: {{ recover_after_nodes }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment