Make prefix available when es_plugins is not defined

This commit is contained in:
Maarten Bezemer 2016-12-07 22:54:33 +01:00
parent d341a4c0ea
commit 49dfa81684
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,10 @@
---
- set_fact: es_binary_prefix=""
- set_fact: es_binary_prefix="elasticsearch-"
when: es_version | version_compare('5.0', '>=')
- name: Include optional user and group creation.
when: (es_user_id is defined) and (es_group_id is defined)
include: elasticsearch-optional-user.yml