|
|
|
@ -1,5 +1,5 @@
|
|
|
|
---
|
|
|
|
---
|
|
|
|
- name: "Importing kibana objects to <{{ kibana_kibana_api_endpoint }}>"
|
|
|
|
- name: "Importing kibana objects to <{{ kibana_api_endpoint }}>"
|
|
|
|
include_tasks: import_service_ojects.yml
|
|
|
|
include_tasks: import_service_ojects.yml
|
|
|
|
loop: "{{ es_index_pattern_services }}"
|
|
|
|
loop: "{{ es_index_pattern_services }}"
|
|
|
|
loop_control:
|
|
|
|
loop_control:
|
|
|
|
@ -9,7 +9,7 @@
|
|
|
|
- name: "Setting default index pattern"
|
|
|
|
- name: "Setting default index pattern"
|
|
|
|
delegate_to: localhost
|
|
|
|
delegate_to: localhost
|
|
|
|
uri:
|
|
|
|
uri:
|
|
|
|
url: "https://{{ kibana_kibana_api_endpoint }}/s/{{ stage }}-{{ tenant_id }}/api/kibana/settings"
|
|
|
|
url: "https://{{ kibana_api_endpoint }}/s/{{ stage }}-{{ tenant_id }}/api/kibana/settings"
|
|
|
|
method: POST
|
|
|
|
method: POST
|
|
|
|
status_code: [200]
|
|
|
|
status_code: [200]
|
|
|
|
user: "{{ elastic_admin_username }}"
|
|
|
|
user: "{{ elastic_admin_username }}"
|
|
|
|
|