roles/filebeat-oss: add missing file mode and ownership for security_actions tasks

This commit is contained in:
neonmei 2020-11-12 11:32:49 -03:00
parent 80593c464b
commit 68b8c6b5a0
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E

View File

@ -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"