Update elasticsearch-xpack.yml

Refactor file module and fix file mode syntax to support octal number format
This commit is contained in:
Duy Nguyen 2020-03-04 14:56:35 +08:00 committed by GitHub
parent 3d7052e5e7
commit 444d9f473b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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