Support for all xpack features through generic install + improved tests

This commit is contained in:
Dale McDiarmid 2016-07-24 15:25:32 +01:00
parent fdf1bda155
commit 57fa9e432b
11 changed files with 87 additions and 53 deletions

View file

@ -10,8 +10,8 @@
- set_fact: list_command="--list"
when: es_version | version_compare('2.0', '<')
#List currently installed plugins
- shell: "{{es_home}}/bin/plugin {{list_command}} | sed -n '1!p' | cut -d '-' -f2-"
#List currently installed plugins - ignore xpack if > v 2.0
- shell: "{{es_home}}/bin/plugin {{list_command}} | sed -n '1!p' | cut -d '-' -f2-{% if {{es_version}} | version_compare('2.0', '>') %} | grep -vE 'shield|watcher|marvel-agent|graph'{% endif %}"
register: installed_plugins
changed_when: False
ignore_errors: yes