Some improvements, including elasticsearch.yml configuration

This commit is contained in:
Philip (a-0) 2023-01-22 20:08:55 +01:00
parent 9c2d5ab324
commit 4ff67325dd
4 changed files with 106 additions and 1 deletions

View file

@ -40,4 +40,15 @@
pkg:
- elasticsearch=6.1.0
state: latest
update_cache: yes
update_cache: yes
- name: Set config file
template:
src: elasticsearch.yml.j2
dest: /etc/elasticsearch/elasticsearch.yml
owner: root
group: elasticsearch
- name: Enable ingest-attachment plugin
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment"