Skip to content

Commit

Permalink
Remove proxy configuration from Wazuh manager playbook
Browse files Browse the repository at this point in the history
The proxy configuration block in ossec.conf is being removed as it was
incorrectly placed. The proxy settings in ossec-init.conf do not affect
the vulnerability detector functionality.
  • Loading branch information
grzegorzkoper committed Jan 8, 2025
1 parent 1e221f3 commit dbe0ca3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions etc/kayobe/ansible/wazuh-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@
notify:
- Restart wazuh

- name: Set http/s_proxy vars in ossec-init.conf for vulnerability detector
blockinfile:
path: "/var/ossec/etc/ossec.conf"
state: present
owner: root
group: ossec
block: |
HTTPS_PROXY={{ http_proxy_url }}
HTTP_PROXY={{ http_proxy_url }}
backup: yes
when: http_proxy_url is defined
notify:
- Restart wazuh

- name: Perform health check against filebeat
command: filebeat test output
changed_when: false
Expand Down

0 comments on commit dbe0ca3

Please sign in to comment.