Vereinfache Plugin-Installation

This commit is contained in:
phil 2021-11-28 15:34:24 +01:00
parent 7a61ba099a
commit 2351a8841c

View file

@ -15,14 +15,8 @@
path: /usr/share/elasticsearch/plugins/ingest-attachment
register: ingest_plugin
- name: "elastic | Hole Plugin"
get_url:
url: "{{ es_ingest_attachment_url }}"
dest: "{{ es_dl_path }}"
when: ingest_plugin.stat.exists == False
- name: "eleastic | Installiere Plugin"
command: "elasticsearch-plugin install file:///{{ es_dl_path }}/ingest-attachment-{{ es_ingest_attachment_version }}.zip"
command: "elasticsearch-plugin install {{ es_ingest_attachment_url }}"
args:
chdir: /usr/share/elasticsearch/bin
when: ingest_plugin.stat.exists == False