The objective of this section is to guide users in the installation of an environment consisting of a Wazuh indexer, dashboard, manager, and Wazuh agents, in a simple and intuitive way using the Ansible deploy tool.
Ansible is an open source software that automates software provisioning, configuration management, and application deployment.
Before we get started with Ansible, confirm the following requirements are met:
Private network DNS: If you intend to use hostname instead of IP Address for remote endpoints definitions, be sure you have correctly set up your DNS server and that it corresponds to the FQDN of your endpoints. Otherwise, use your hosts file.
Firewall settings: Ansible can work with any TCP port. By default, it uses TCP/22 port to work with Linux endpoints. Ensure this port is open in endpoints and/or firewalls. In addition, you need to use and configure
ufw, Security Groups, or any other firewall settings.
Required open ports: You can access the Required ports list to find out which ports you need to communicate the Wazuh components with external services such as Ansible.