ansible-role-elasticsearch/tasks/xpack/elasticsearch-xpack.yml
Duy Nguyen b1acff4820
Update tasks/xpack/elasticsearch-xpack.yml
Co-Authored-By: Julien Mailleret <julien.mailleret@elastic.co>
2020-03-04 22:00:50 +08:00

16 lines
409 B
YAML

---
#Security configuration
- 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: root
group: {{ es_group }}
mode: "0660"