ansible-role-elasticsearch/tasks/xpack/elasticsearch-xpack.yml

13 lines
402 B
YAML
Raw Normal View History

---
#Security configuration
2018-02-04 07:09:23 +00:00
- name: include security/elasticsearch-security.yml
include: security/elasticsearch-security.yml
when: es_enable_xpack
#Make sure elasticsearch.keystore has correct Permissions
- name: Set elasticsearch.keystore Permissions
become: yes
file: state=file path={{ es_conf_dir }}/elasticsearch.keystore owner={{ es_user }} group={{ es_group }}
when: es_enable_xpack