Bootstrap changes only for ES 6.x and with xpack

This commit is contained in:
Shri Bodas 2018-01-10 09:49:24 -08:00 committed by Michael Russell
parent e77cdc586d
commit 89601d731d
No known key found for this signature in database
GPG key ID: A90C1696496085FE
2 changed files with 4 additions and 2 deletions

View file

@ -16,3 +16,4 @@
- name: Set elasticsearch.keystore Permissions
become: yes
file: state=file path={{ conf_dir }}/elasticsearch.keystore owner={{ es_user }} group={{ es_group }}
when: es_enable_xpack and "security" in es_xpack_features and (es_version | version_compare('6.0.0', '>'))