Vereinfache Plugin-Installation
This commit is contained in:
parent
7a61ba099a
commit
2351a8841c
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue