Merge "Support custom elasticsearch configuration files"

This commit is contained in:
Zuul 2020-06-11 09:19:15 +00:00 committed by Gerrit Code Review
commit 4cb4481802
2 changed files with 9 additions and 2 deletions

View File

@ -30,8 +30,12 @@
- Restart {{ item.key }} container
- name: Copying over elasticsearch service config files
template:
src: "{{ item.key }}.yml.j2"
merge_yaml:
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"
mode: "0660"
become: true

View File

@ -0,0 +1,3 @@
---
features:
- Adds ability to provide a custom elasticsearch config.