Remove the x-pack plugin directory since it isn't a plugin anymore

This commit is contained in:
Michael Russell 2018-08-28 07:58:50 +02:00
parent 324ec67bd5
commit 7857f24f83
No known key found for this signature in database
GPG key ID: A90C1696496085FE

View file

@ -13,6 +13,12 @@
set_fact: list_command="| grep -vE 'x-pack'"
when: not es_plugins_reinstall
- name: remove x-pack plugin directory when it isn't a plugin
file:
dest: "{{ es_home }}/plugins/x-pack"
state: "absent"
when: es_open_xpack
#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.
- name: Check installed elasticsearch plugins
become: yes