Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 7857f24

Browse files
committed
Remove the x-pack plugin directory since it isn't a plugin anymore
1 parent 324ec67 commit 7857f24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/elasticsearch-plugins.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
set_fact: list_command="| grep -vE 'x-pack'"
1414
when: not es_plugins_reinstall
1515

16+
- name: remove x-pack plugin directory when it isn't a plugin
17+
file:
18+
dest: "{{ es_home }}/plugins/x-pack"
19+
state: "absent"
20+
when: es_open_xpack
21+
1622
#List currently installed plugins. We have to list the directories as the list commmand fails if the ES version is different than the plugin version.
1723
- name: Check installed elasticsearch plugins
1824
become: yes

0 commit comments

Comments
 (0)