Skip to content

Comments

Fix/kibana default index #72#413

Open
Wintermute2k6 wants to merge 7 commits intomainfrom
fix/kibana_default_index
Open

Fix/kibana default index #72#413
Wintermute2k6 wants to merge 7 commits intomainfrom
fix/kibana_default_index

Conversation

@Wintermute2k6
Copy link

I tried to introduce a seperated task to set the default index so it can be seen as an optional task that can be integrated if needed.

Also tried to set variable for the Index UUID so it can be also set seperately to what is needed.

I've tried to avoid ansible builtin shell curl as sometimes curl isn't installed by default so i used the uri ..

Regards

David


- name: Set Custom Default Index
ansible.builtin.uri:
url: 'http://{{ ansible_default_ipv4.address }}:5601/api/kibana/settings'

Check warning

Code scanning / KICS

Communication Over HTTP Warning

ansible.builtin.uri.url is accessed via the HTTP protocol'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants