Skip to content
Snippets Groups Projects
Commit 64d8dcde authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Make custom kibana configuration files possible"

parents 0fd03fc8 c96633d4
No related branches found
No related tags found
No related merge requests found
......@@ -26,17 +26,22 @@
notify:
- Restart kibana container
- name: Copying over Kibana configuration file
- name: Copying over kibana configuration file
vars:
kibana: "{{ kibana_services.kibana }}"
template:
src: "{{ item.key }}.yml.j2"
dest: "{{ node_config_directory }}/{{ item.key }}/{{ item.key }}.yml"
src: "kibana.yml.j2"
dest: "{{ node_config_directory }}/kibana/kibana.yml"
mode: "0660"
become: true
register: kibana_confs
with_first_found:
- "{{ node_custom_config }}/kibana/{{ inventory_hostname }}/kibana.yml"
- "{{ node_custom_config }}/kibana/kibana.yml"
- "kibana.yml.j2"
when:
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
with_dict: "{{ kibana_services }}"
- inventory_hostname in groups[kibana.group]
- kibana.enabled | bool
notify:
- Restart kibana container
......
---
features:
- Adds ability to provide a custom kibana config.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment