wazuh-ansible-4.8.1/roles/wazuh/ansible-wazuh-agent
2024-05-31 10:55:57 -03:00
..
defaults Merge branch '4.8.0' into merge-4.8.0-into-master 2023-10-23 10:39:16 +02:00
handlers Updated ossec.conf template to support macOS 2023-10-10 15:05:20 +02:00
meta changing permissions 2019-07-17 12:21:19 +02:00
tasks Fixed apt_key deprecation 2024-05-21 17:38:02 +02:00
templates Removed endif tag 2023-12-07 18:32:43 +01:00
README.md Initial variables created 2023-10-03 17:04:35 +02:00

Ansible Playbook - Wazuh agent

This role will install and configure a Wazuh Agent.

OS Requirements

This role is compatible with:

  • Red Hat
  • CentOS
  • Fedora
  • Debian
  • Ubuntu
  • Windows
  • macOS

Role Variables

  • wazuh_managers: Collection of Wazuh Managers' IP address, port, and protocol used by the agent
  • wazuh_agent_authd: Collection with the settings to register an agent using authd.

Playbook example

The following is an example of how this role can be used:

 - hosts: all:!wazuh-manager
   roles:
     - ansible-wazuh-agent
   vars:
     wazuh_managers:
       - address: 127.0.0.1
         port: 1514
         protocol: tcp
         api_port: 55000
         api_proto: 'http'
         api_user: 'ansible'
     wazuh_agent_authd:
       registration_address: 127.0.0.1
       enable: true
       port: 1515
       ssl_agent_ca: null
       ssl_auto_negotiate: 'no'

WAZUH Copyright (C) 2016, Wazuh Inc. (License GPLv3)

Based on previous work from dj-wasabi

Modified by Wazuh

The playbooks have been modified by Wazuh, including some specific requirements, templates and configuration to improve integration with Wazuh ecosystem.