2016-07-22 23:44:27 +01:00
|
|
|
---
|
2016-07-23 22:37:22 +01:00
|
|
|
|
2017-01-11 13:02:23 +00:00
|
|
|
#Security configuration
|
2018-02-04 07:09:23 +00:00
|
|
|
- name: include security/elasticsearch-security.yml
|
|
|
|
|
include: security/elasticsearch-security.yml
|
2019-05-29 12:10:11 +02:00
|
|
|
when: es_enable_xpack
|
2016-07-22 23:44:27 +01:00
|
|
|
|
2018-01-08 16:59:44 -08:00
|
|
|
#Make sure elasticsearch.keystore has correct Permissions
|
|
|
|
|
- name: Set elasticsearch.keystore Permissions
|
|
|
|
|
become: yes
|
2020-03-04 14:56:35 +08:00
|
|
|
file:
|
|
|
|
|
state: file
|
2020-03-04 22:00:50 +08:00
|
|
|
path: "{{ es_conf_dir }}/elasticsearch.keystore"
|
2020-03-04 14:56:35 +08:00
|
|
|
owner: root
|
2020-03-04 22:01:00 +08:00
|
|
|
group: "{{ es_group }}"
|
2020-03-04 14:56:35 +08:00
|
|
|
mode: "0660"
|