This role will install and configure the Wazuh manager service.
This role will work on:
- Red Hat
- CentOS
- Fedora
- Debian
- Ubuntu
-
nodejs_repo_add: (boolean) Add nodejs repo to apt or rpm sources before installing -
nodejs_repo_remove: (boolean) Remove nodejs repo from sources after installation is complete -
wazuh_agentless_hosts: (dict) Usernames and passwords for agentless monitoring -
wazuh_api_install: (boolean) Install wazuh-api app -
wazuh_api_users: (dict) Usernames and passwords for API authentication -
wazuh_async_timeout: (int) Default timeout between checks for completion of async operations such as apt and yum -
wazuh_async_tries: (int) Max number of times to check for async completion before declaring failure -
wazuh_authd_pass: Password for agent registration -
wazuh_cdb_lists_custom: Custom CDB lists -
wazuh_manager: Wazuh manager local configurationwazuh_manager_activeresponse: Settings for active-response sectionwazuh_manager_alerts: Settings for alerts sectionwazuh_manager_auth: Settings for auth sectionwazuh_manager_cluster: Settings for cluster sectionwazuh_manager_command: Settings for command sectionwazuh_manager_databaseoutput: Settings for database_output sectionwazuh_manager_emailalerts: Settings for email_alerts sectionwazuh_manager_global: Settings for global sectionwazuh_manager_integration: Settings for integration sectionwazuh_manager_labels: Settings for labels sectionwazuh_manager_localfile: Settings for localfile sectionwazuh_manager_logformat: Log format settingwazuh_manager_remote: Remote sectionwazuh_manager_reports: Reports sectionwazuh_manager_rootcheck: Settings for rootcheck sectionwazuh_manager_ruleset: Settings for ruleset sectionwazuh_manager_socket: Settings for socket sectionwazuh_manager_syscheck: Settings for syscheck sectionwazuh_manager_syslogoutput: Settings for syslog_output sectionwazuh_manager_wodle: Settings for Wazuh moduleswazuh_manager_wodle_aws: Settings for the AWS-s3 modulewazuh_manager_wodle_ciscat: Settings for the cis-cat modulewazuh_manager_wodle_command: Settings for the command modulewazuh_manager_wodle_openscap: Settings for the open-scap modulewazuh_manager_wodle_osquery: Settings for the osquery modulewazuh_manager_wodle_syscollector: Settings for the syscollector modulewazuh_manager_wodle_vuldetector: Settings for the vulnerability-detector module
-
wazuh_purge: Completely remove the/var/ossecdirectory before installation. (defaults tofalse). -
wazuh_repo_add: Add the wazuh repo prior to installation. -
wazuh_repo_remove: Remove the wazuh repo after installation. -
wazuh_shared: Settings for centralized configurationwazuh_shared_linux: Centralized settings for linux agentswazuh_shared_windows: Centralized settings for windows agents
- hosts: 'wazuh-manager.example.com'
roles:
- 'ansible-wazuh-manager'
vars:
wazuh_authd_pass: 'S3CR3T'
wazuh_manager_auth_disabled: false
wazuh_manager_auth_usepassword: true
BSD