minor fix

This commit is contained in:
Philip (a-0) 2023-01-22 20:44:06 +01:00
parent 0f28e007d9
commit 3c858ac2d5

View file

@ -53,16 +53,20 @@
owner: root
group: elasticsearch
- name: Ensure elasticsearch is running
service:
name: elasticsearch
state: started
- 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
- name: Install ingest-attachment plugin
shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment"
- name: Restart elasticsearch
service:
name: elasticsearch