From 444d9f473be1b25f6c7ca8a6f4216ceede7d12ff Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Wed, 4 Mar 2020 14:56:35 +0800 Subject: [PATCH] Update elasticsearch-xpack.yml Refactor file module and fix file mode syntax to support octal number format --- tasks/xpack/elasticsearch-xpack.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/xpack/elasticsearch-xpack.yml b/tasks/xpack/elasticsearch-xpack.yml index 263af93..f5182c2 100644 --- a/tasks/xpack/elasticsearch-xpack.yml +++ b/tasks/xpack/elasticsearch-xpack.yml @@ -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"