From a87780cb96159bded0a176ec62e4c41c25fdcd42 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 May 2020 18:00:08 +0100 Subject: [PATCH] Use FQDN for elasticsearch This was addressed in I21689e22870c2f6206e37c60a3c33e19140f77ff but accidentally reverted in I4f74bfe07d4b7ca18953b11e767cf0bb94dfd67e. Change-Id: Id5fc458b0ca54bddfe9a43cb315dbcfeb2142395 --- ansible/roles/elasticsearch/tasks/upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/elasticsearch/tasks/upgrade.yml b/ansible/roles/elasticsearch/tasks/upgrade.yml index 53d87d22a8..16f263f988 100644 --- a/ansible/roles/elasticsearch/tasks/upgrade.yml +++ b/ansible/roles/elasticsearch/tasks/upgrade.yml @@ -1,7 +1,7 @@ --- - name: Set fact for Elasticsearch URL set_fact: - elasticsearch_url: "{{ internal_protocol }}://{{ kolla_internal_vip_address | put_address_in_context('url') }}:{{ elasticsearch_port }}" + elasticsearch_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ elasticsearch_port }}" # The official procedure for upgrade elasticsearch: # https://www.elastic.co/guide/en/elasticsearch/reference/6.x/restart-upgrade.html