Merge "Allow using custom publish host"

This commit is contained in:
Zuul 2018-09-08 20:53:51 +00:00 committed by Gerrit Code Review
commit 31d0cff14c

View File

@ -47,6 +47,9 @@ bootstrap.memory_lock: false
#
# Set the bind address to a specific IP (IPv4 or IPv6):
network.host: ["127.0.0.1", "{{ ansible_host }}", "{{ ansible_hostname }}"]
{% if elasticsearch_publish_host is defined %}
network.publish_host: "{{ elasticsearch_publish_host }}"
{% endif %}
# Set a custom port for HTTP:
http.port: {{ elastic_port }}