Skip to content
Snippets Groups Projects
Commit 2c8859da authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix re-installing plugins standalone

parent 93128620
No related branches found
No related tags found
No related merge requests found
--- ---
# file: roles/elasticsearch/tasks/re-install-plugins.yml # file: roles/elasticsearch/tasks/re-install-plugins.yml
- name: Uninstall Plugins - block:
elasticsearch_plugin:
name: '{{ item }}'
state: absent
with_items:
- ingest-attachment
- name: Install Plugins - name: Uninstall Plugins
elasticsearch_plugin: elasticsearch_plugin:
name: '{{ item }}' name: '{{ item }}'
state: present state: absent
force: yes with_items:
with_items: - ingest-attachment
- ingest-attachment
- name: Restart Elasticsearch - name: Install Plugins
service: elasticsearch_plugin:
name: elasticsearch name: '{{ item }}'
state: restarted state: present
force: yes
with_items:
- ingest-attachment
- name: Restart Elasticsearch
service:
name: elasticsearch
state: restarted
tags:
- reinstall-plugins
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment