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 owner: root
group: elasticsearch group: elasticsearch
- name: Ensure elasticsearch is running
service:
name: elasticsearch
state: started
- name: Remove ingest-attachment plugin if installed - name: Remove ingest-attachment plugin if installed
shell: shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin remove ingest-attachment" cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin remove ingest-attachment"
ignore_errors: yes ignore_errors: yes
- name: Enable ingest-attachment plugin - name: Install ingest-attachment plugin
shell: shell:
cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment" cmd: "{{ nextcloud_elasticsearch_bin_dir }}/elasticsearch-plugin install ingest-attachment"
- name: Restart elasticsearch - name: Restart elasticsearch
service: service:
name: elasticsearch name: elasticsearch