diff --git a/ansible/roles/kibana/tasks/migrate-kibana-index.yml b/ansible/roles/kibana/tasks/migrate-kibana-index.yml index 694a5a8d96..e0d699eeee 100644 --- a/ansible/roles/kibana/tasks/migrate-kibana-index.yml +++ b/ansible/roles/kibana/tasks/migrate-kibana-index.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 }}" - name: Wait for Elasticsearch become: true diff --git a/ansible/roles/kibana/tasks/post_config.yml b/ansible/roles/kibana/tasks/post_config.yml index 0d393b5f25..b5e7c4397a 100644 --- a/ansible/roles/kibana/tasks/post_config.yml +++ b/ansible/roles/kibana/tasks/post_config.yml @@ -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