Dont use local connection for kibana post config

We should not assume the VIP is accessible from the deploy node.

Change-Id: I39640f98b4adddb9cb8dfdd09d9fb7ecba15a820
Closes-Bug: #1730651
This commit is contained in:
Paul Bourke 2017-11-08 13:52:23 +00:00
parent 33513db407
commit c0f2224e61

View File

@ -4,7 +4,6 @@
host: "{{ kolla_internal_vip_address }}" host: "{{ kolla_internal_vip_address }}"
port: "{{ kibana_server_port }}" port: "{{ kibana_server_port }}"
run_once: true run_once: true
connection: local
- name: Wait for kibana to register in elasticsearch - name: Wait for kibana to register in elasticsearch
uri: uri:
@ -15,7 +14,6 @@
retries: 5 retries: 5
delay: 2 delay: 2
run_once: true run_once: true
connection: local
- name: Get kibana default indexes - name: Get kibana default indexes
uri: uri:
@ -24,7 +22,6 @@
method: GET method: GET
register: kibana_default_indexes register: kibana_default_indexes
run_once: true run_once: true
connection: local
when: kibana_default_index is defined when: kibana_default_index is defined
- name: Set kibana default indexes fact - name: Set kibana default indexes fact
@ -43,7 +40,6 @@
body_format: json body_format: json
status_code: 201 status_code: 201
run_once: true run_once: true
connection: local
when: when:
- kibana_default_index is defined - kibana_default_index is defined
- kibana_default_indexes is defined - kibana_default_indexes is defined
@ -77,7 +73,6 @@
body_format: json body_format: json
status_code: 200 status_code: 200
run_once: true run_once: true
connection: local
when: when:
- kibana_default_index is defined - kibana_default_index is defined
- kibana_default_indexes is defined - kibana_default_indexes is defined