From 68b8c6b5a0383913527aa14a8312f8f9ed1d6172 Mon Sep 17 00:00:00 2001 From: neonmei Date: Thu, 12 Nov 2020 11:32:49 -0300 Subject: [PATCH] roles/filebeat-oss: add missing file mode and ownership for security_actions tasks --- roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml b/roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml index 95503159..8a6c5aad 100644 --- a/roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml +++ b/roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml @@ -4,11 +4,16 @@ file: path: "{{ filebeat_ssl_dir }}" state: directory + owner: root + group: root + mode: 0774 - name: Copy the certificates from local to the Manager instance copy: src: "{{ local_certs_path }}/certs/{{ item }}" dest: "{{ filebeat_ssl_dir }}" + owner: root + group: root mode: 0644 with_items: - "{{ filebeat_node_name }}.key"