ansible-role-elasticsearch/tasks/xpack/elasticsearch-xpack.yml
Julien Mailleret cab03ece10
xpack features refactoring (#653)
- rename es_enable_xpack variable to oss_version
  this variable name should be more explicit and consistent with the xpack changes made in 6.3
  es_enable_xpack can still be used but is deprecated and will be removed in a later version.
- remove es_xpack-features variables
  this variable was not working anymore since 6.3 [0]

[0]: https://github.com/elastic/ansible-elasticsearch/issues/608
2020-06-12 18:15:03 +02:00

16 lines
411 B
YAML

---
#Security configuration
- name: include security/elasticsearch-security.yml
include: security/elasticsearch-security.yml
when: not oss_version
#Make sure elasticsearch.keystore has correct Permissions
- name: Set elasticsearch.keystore Permissions
become: yes
file:
state: file
path: "{{ es_conf_dir }}/elasticsearch.keystore"
owner: root
group: "{{ es_group }}"
mode: "0660"