Merge "Use FQDN to communicate with Kibana and Elasticsearch"

This commit is contained in:
Zuul 2020-05-11 20:18:53 +00:00 committed by Gerrit Code Review
commit 12ac15b5f7
2 changed files with 2 additions and 2 deletions

View File

@ -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 }}"
- name: Wait for Elasticsearch
become: true

View File

@ -1,7 +1,7 @@
---
- name: Wait for kibana port
wait_for:
host: "{{ kolla_internal_vip_address }}"
host: "{{ kolla_internal_fqdn }}"
port: "{{ kibana_server_port }}"
run_once: true