minor fix
This commit is contained in:
parent
0f28e007d9
commit
3c858ac2d5
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue