Skip to content

Commit

Permalink
refac: filebeat provisioning tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebits committed Feb 14, 2024
1 parent 210cee7 commit 242b1e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ filebeat_output_indexer_hosts:
- "localhost:9200"

filebeat_module_package_url: https://packages.wazuh.com/4.x/filebeat
filebeat_module_pre_release_package_url: https://packages-dev.wazuh.com/pre-release/filebeat
filebeat_module_staging_package_url: https://packages-dev.wazuh.com/staging/filebeat
filebeat_module_package_name: wazuh-filebeat-0.4.tar.gz
filebeat_module_package_path: /tmp/
filebeat_module_destination: /usr/share/filebeat/module
Expand All @@ -28,4 +26,4 @@ filebeatrepo:
apt: 'deb https://packages.wazuh.com/4.x/apt/ stable main'
yum: 'https://packages.wazuh.com/4.x/yum/'
gpg: 'https://packages.wazuh.com/key/GPG-KEY-WAZUH'
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145'
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
get_url:
url: "{{ filebeat_module_package_url }}/{{ filebeat_module_package_name }}"
dest: "{{ filebeat_module_package_path }}"
when: not filebeat_module_folder.stat.exists
when: not filebeat_module_folder.stat.exists

- name: Unpack Filebeat module package
unarchive:
Expand Down
2 changes: 0 additions & 2 deletions provisioning/roles/wazuh/wazuh_environment/schema.j2
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ filebeat_module_package_url: https://packages-dev.wazuh.com/staging/filebeat
{% endif %}
{% endif %}



{%- endmacro -%}

{% if indexer is defined%}
Expand Down

0 comments on commit 242b1e7

Please sign in to comment.