initial changes
This commit is contained in:
parent
c171f3905b
commit
69427edea6
@ -43,3 +43,8 @@ node_certs_destination: /etc/filebeat/certs
|
|||||||
rsync_path: /usr/bin/rsync
|
rsync_path: /usr/bin/rsync
|
||||||
rsync_user: vagrant
|
rsync_user: vagrant
|
||||||
rsync_extra_parameters: -avg -e 'ssh -o StrictHostKeyChecking=no' --rsync-path='sudo rsync'
|
rsync_extra_parameters: -avg -e 'ssh -o StrictHostKeyChecking=no' --rsync-path='sudo rsync'
|
||||||
|
|
||||||
|
filebeat_module_package_name: wazuh-filebeat-0.1.tar.gz
|
||||||
|
filebeat_module_package_path: /root/
|
||||||
|
filebeat_module_destination: /usr/share/filebeat/module
|
||||||
|
filebeat_module_folder: /usr/share/filebeat/module/wazuh
|
||||||
@ -88,6 +88,19 @@
|
|||||||
- filebeat_xpack_security
|
- filebeat_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
|
- name: Download Filebeat module package
|
||||||
|
get_url:
|
||||||
|
url: https://packages-dev.wazuh.com/3.x/filebeat/{{ filebeat_module_package_name }}
|
||||||
|
dest: "{{ filebeat_module_package_path }}"
|
||||||
|
|
||||||
|
- name: Unpakcaging Filebeat module package
|
||||||
|
unarchive:
|
||||||
|
src: "{{ filebeat_module_package_path }}/{{ filebeat_module_package_name }}"
|
||||||
|
dest: "{{ filebeat_module_destination }}"
|
||||||
|
|
||||||
|
- name: Setting 0755 permission for Filebeat module folder
|
||||||
|
file: dest={{ filebeat_module_folder }} mode=u=rwX,g=rwX,o=rwX recurse=yes
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
when: filebeat_create_config
|
when: filebeat_create_config
|
||||||
notify: restart filebeat
|
notify: restart filebeat
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user