use files permissions from official package

This commit is contained in:
Julien Mailleret 2019-09-18 10:57:07 +02:00
parent 6a1b886753
commit 9bac169862
No known key found for this signature in database
GPG key ID: F065093271C8DE71
8 changed files with 34 additions and 25 deletions

View file

@ -8,5 +8,4 @@
#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
file: state=file path={{ es_conf_dir }}/elasticsearch.keystore owner=root group={{ es_group }} mode=0660