From 2351a8841c4238357bb166728a8f5b8362f0767e Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 28 Nov 2021 15:34:24 +0100 Subject: [PATCH] Vereinfache Plugin-Installation --- tasks/elastic.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tasks/elastic.yml b/tasks/elastic.yml index 05b6cab..b99ea8e 100644 --- a/tasks/elastic.yml +++ b/tasks/elastic.yml @@ -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