Changed plugin installation to config file

This commit is contained in:
Philip (a-0) 2023-01-22 20:19:23 +01:00
parent d8b4c9ee06
commit 53f6349999
2 changed files with 15 additions and 3 deletions

View file

@ -53,6 +53,16 @@
owner: root owner: root
group: elasticsearch group: elasticsearch
- name: Enable ingest-attachment plugin - name: Set plugin configuration
shell: template:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment" src: elasticsearch-plugins.yml.j2
dest: /etc/elasticsearch/elasticsearch-plugins.yml
owner: root
group: elasticsearch
- name: Restart elasticsearch
service:
name: elasticsearch
state: restarted
enabled: yes
deamon_reload: yes

View file

@ -0,0 +1,2 @@
plugins:
- id: ingest-attachment