Wazuh server is configured to run on top of Ubuntu and the entire configuration is done using headless scripts located in the templates folder.
In order to modify the configuration of Wazuh, change the following config section in domain_setup.yml file.
# Setup for Wazuh Server and Agent. Versions will change so you might need to update this URL with time.
wazuh_admin:
username: blueteam
password: BlueTeamDetection0%%%
wazuh_services_password: BlueTeamDetection0%%%
agent_url: https://packages.wazuh.com/4.x/windows/wazuh-agent-4.2.5-1.msi
Please note that the same password, located under the wazuh_services_password
variable will be used for all exposed Wazuh services such as kibana or logstash. The Username
and Password
parameters refer to the SSH logins for the system, so Ansible can perform configuration.
The Wazuh agent is configured to ship logs to Wazuh Server, so during installation of MSI package, as directed by wazuh_admin.agent_url
variable in domain_setup.yml, IP of the Wazuh Server needs to be passed along as one of the parameters. The details of corresponding Ansible task can be found in/ansible/roles/wazuhagent/tasks/main.yml along with agent configuration options in templates folder.