mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Remove plugin folder before elasticsearch setup
This commit is contained in:
@@ -31,6 +31,10 @@
|
|||||||
apt: deb=/tmp/elasticsearch-{{ elasticsearch.version }}.deb
|
apt: deb=/tmp/elasticsearch-{{ elasticsearch.version }}.deb
|
||||||
when: not is_installed
|
when: not is_installed
|
||||||
|
|
||||||
|
- name: Remove old plugin directory
|
||||||
|
shell: rm -rf /usr/share/elasticsearch/plugins/analysis-icu
|
||||||
|
sudo: yes
|
||||||
|
|
||||||
- name: Install plugins
|
- name: Install plugins
|
||||||
shell: /usr/share/elasticsearch/bin/plugin install {{ item.name }}/{{ item.version }}
|
shell: /usr/share/elasticsearch/bin/plugin install {{ item.name }}/{{ item.version }}
|
||||||
when: not is_installed
|
when: not is_installed
|
||||||
|
|||||||
Reference in New Issue
Block a user