From 8fdfecc06f3122d000f915fc212ca1a59da10f81 Mon Sep 17 00:00:00 2001 From: neonmei Date: Thu, 12 Nov 2020 11:05:47 -0300 Subject: [PATCH] roles/opendistro-elasticsearch: add missing mode for file module --- .../opendistro/opendistro-elasticsearch/tasks/local_actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/opendistro/opendistro-elasticsearch/tasks/local_actions.yml b/roles/opendistro/opendistro-elasticsearch/tasks/local_actions.yml index 04f20378..6e54fdf2 100644 --- a/roles/opendistro/opendistro-elasticsearch/tasks/local_actions.yml +++ b/roles/opendistro/opendistro-elasticsearch/tasks/local_actions.yml @@ -14,6 +14,7 @@ - name: Local action | Create local temporary directory for certificates generation file: path: "{{ local_certs_path }}" + mode: 0755 state: directory - name: Local action | Check that the generation tool exists @@ -41,6 +42,7 @@ template: src: "templates/tlsconfig.yml.j2" dest: "{{ local_certs_path }}/config/tlsconfig.yml" + mode: 0644 register: tlsconfig_template - name: Create a directory if it does not exist