Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature lint role filebeat oss #494

Merged
merged 2 commits into from
Nov 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions roles/wazuh/ansible-filebeat-oss/tasks/security_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@
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"
- "{{ filebeat_node_name }}.pem"
- "root-ca.pem"

- name: Ensuring folder & certs permissions
file:
path: "{{ filebeat_ssl_dir }}/"
mode: 0774
state: directory
recurse: yes

tags:
- security
when:
Expand Down