wazuh-ansible-4.8.1/roles/wazuh/ansible-wazuh-agent
Jose M. Garcia c4c2b53891
Merge pull request #356 from wazuh/release-wazuh_3.11.3_7.5.2
Release Ansible Wazuh 3.11.3_7.5.2
2020-01-28 20:08:52 +01:00
..
defaults Update MD5 hash for Windows Agent 2020-01-28 18:37:48 +01:00
handlers Update wazuh-agent windows handler for restarting 2019-09-09 13:08:38 +02:00
meta Added molecule test for the Wazuh Agent 2019-04-27 15:26:18 +02:00
tasks Fix conditional check for null variables 2019-12-17 11:50:28 +01:00
templates Fix agent's ossec.conf for CentOS 8 2020-01-27 19:32:54 +01:00
vars Added molecule test for the Wazuh Agent 2019-04-27 15:26:18 +02:00
README.md changing permissions 2019-07-17 12:21:19 +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

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:
       enable: true
       port: 1515
       ssl_agent_ca: null
       ssl_auto_negotiate: 'no'

WAZUH Copyright (C) 2018 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.