roles/filebeat-oss: add missing file mode and ownership for security_actions tasks
This commit is contained in:
parent
80593c464b
commit
68b8c6b5a0
@ -4,11 +4,16 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ filebeat_ssl_dir }}"
|
path: "{{ filebeat_ssl_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0774
|
||||||
|
|
||||||
- name: Copy the certificates from local to the Manager instance
|
- name: Copy the certificates from local to the Manager instance
|
||||||
copy:
|
copy:
|
||||||
src: "{{ local_certs_path }}/certs/{{ item }}"
|
src: "{{ local_certs_path }}/certs/{{ item }}"
|
||||||
dest: "{{ filebeat_ssl_dir }}"
|
dest: "{{ filebeat_ssl_dir }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ filebeat_node_name }}.key"
|
- "{{ filebeat_node_name }}.key"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user