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