Merge "Make custom kibana configuration files possible"
This commit is contained in:
commit
64d8dcdebd
@ -26,17 +26,22 @@
|
|||||||
notify:
|
notify:
|
||||||
- Restart kibana container
|
- Restart kibana container
|
||||||
|
|
||||||
- name: Copying over Kibana configuration file
|
- name: Copying over kibana configuration file
|
||||||
|
vars:
|
||||||
|
kibana: "{{ kibana_services.kibana }}"
|
||||||
template:
|
template:
|
||||||
src: "{{ item.key }}.yml.j2"
|
src: "kibana.yml.j2"
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/{{ item.key }}.yml"
|
dest: "{{ node_config_directory }}/kibana/kibana.yml"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
register: kibana_confs
|
register: kibana_confs
|
||||||
|
with_first_found:
|
||||||
|
- "{{ node_custom_config }}/kibana/{{ inventory_hostname }}/kibana.yml"
|
||||||
|
- "{{ node_custom_config }}/kibana/kibana.yml"
|
||||||
|
- "kibana.yml.j2"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[kibana.group]
|
||||||
- item.value.enabled | bool
|
- kibana.enabled | bool
|
||||||
with_dict: "{{ kibana_services }}"
|
|
||||||
notify:
|
notify:
|
||||||
- Restart kibana container
|
- Restart kibana container
|
||||||
|
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Adds ability to provide a custom kibana config.
|
Loading…
Reference in New Issue
Block a user