fixed plugin update

This commit is contained in:
Philip (a-0) 2023-01-22 20:40:41 +01:00
parent 8a9b9176b4
commit 0f28e007d9

View file

@ -53,15 +53,15 @@
owner: root
group: elasticsearch
- name: Remove ingest-attachment plugin if installed
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin remove ingest-attachment"
ignore_errors: yes
- name: Enable ingest-attachment plugin
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment"
ignore_errors: yes
- name: Attempt to update plugin
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin update ingest-attachment"
ignore_errors: yes
- name: Restart elasticsearch
service: