Changed plugin installation to config file
This commit is contained in:
parent
d8b4c9ee06
commit
53f6349999
2 changed files with 15 additions and 3 deletions
|
@ -53,6 +53,16 @@
|
|||
owner: root
|
||||
group: elasticsearch
|
||||
|
||||
- name: Enable ingest-attachment plugin
|
||||
shell:
|
||||
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment"
|
||||
- name: Set plugin configuration
|
||||
template:
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue