Add elasticsearch port

and ps to make the port configurable

Change-Id: I919767469087b9579e3d2f0965df835e7b71c327
This commit is contained in:
caoyuan 2018-07-16 14:38:37 +08:00
parent 2d18b63ef9
commit adc55af3cb

View File

@ -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.minimum_master_nodes: {{ minimum_master_nodes }}
http.port: {{ elasticsearch_port }}
gateway.expected_nodes: {{ num_nodes }}
gateway.recover_after_time: "5m"
gateway.recover_after_nodes: {{ recover_after_nodes }}