Skip to content
Snippets Groups Projects
Commit da64a36b authored by Christian Berendt's avatar Christian Berendt Committed by Radosław Piliszek
Browse files

Support custom elasticsearch configuration files

Change-Id: Id43627c6b6d305d0efbdd27ac5a2efbd5bee9107
parent 05a2421b
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,12 @@ ...@@ -30,8 +30,12 @@
- Restart {{ item.key }} container - Restart {{ item.key }} container
- name: Copying over elasticsearch service config files - name: Copying over elasticsearch service config files
template: merge_yaml:
src: "{{ item.key }}.yml.j2" sources:
- "{{ role_path }}/templates/{{ item.key }}.yml.j2"
- "{{ node_custom_config }}/elasticsearch.yml"
- "{{ node_custom_config }}/elasticsearch/{{ item.key }}.yml"
- "{{ node_custom_config }}/elasticsearch/{{ inventory_hostname }}/{{ item.key }}.yml"
dest: "{{ node_config_directory }}/{{ item.key }}/{{ item.key }}.yml" dest: "{{ node_config_directory }}/{{ item.key }}/{{ item.key }}.yml"
mode: "0660" mode: "0660"
become: true become: true
......
---
features:
- Adds ability to provide a custom elasticsearch 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