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

16 lines
417 B
YAML

---
#Security configuration
- name: include security/elasticsearch-security.yml
include_tasks: 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"