From 1f7d7ac082720dff5ef940613ef95226f8145fa0 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 30 Mar 2020 18:07:19 +0200 Subject: [PATCH] elasticsearch: fix the 'transport.tcp.port' arguments syntax. --- library/roles/ELK/elasticsearch/templates/elasticsearch.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/roles/ELK/elasticsearch/templates/elasticsearch.yml.j2 b/library/roles/ELK/elasticsearch/templates/elasticsearch.yml.j2 index 17683329..0a2cf80c 100644 --- a/library/roles/ELK/elasticsearch/templates/elasticsearch.yml.j2 +++ b/library/roles/ELK/elasticsearch/templates/elasticsearch.yml.j2 @@ -80,7 +80,7 @@ http.port: {{ elasticsearch_http_port }} # by default transport.host refers to network.host transport.host: {{ elasticsearch_bind_ip }} {% if elasticsearch_major_version >= 6 %} -transport.tcp.port: {{ elasticsearch_transport_min_port }} - {{ elasticsearch_transport_max_port }} +transport.tcp.port: {{ elasticsearch_transport_min_port }}-{{ elasticsearch_transport_max_port }} {% endif %} # # For more information, see the documentation at: