wazuh-ansible
wazuh-ansible copied to clipboard
Remove some Wazuh cluster variables
Epic | Docu issue |
---|---|
https://github.com/wazuh/wazuh/issues/7108 | https://github.com/wazuh/wazuh-documentation/issues/5215 |
Description
It is intended to make the Wazuh cluster enabled and running by default. This development will be done in:
- https://github.com/wazuh/wazuh/issues/7108
As a consequence, certain configuration options will disappear. How each option will be affected can be seen in https://github.com/wazuh/wazuh/issues/13351 and https://github.com/wazuh/wazuh/issues/13353. As a summary, the main changes are these:
- disabled: Removed.
- name: Removed
- node_name: The hostname will be used by default.
- node_type: Do not change.
- key: Removed.
- bind_addr: A list of addresses will be accepted.
-
nodes:
127.0.0.1
should be used by default. - hidden: Do not change.
It will be necessary to update or remove in the Ansible module those variables that are affected: https://github.com/wazuh/wazuh-ansible/blob/a580ec37926905f6acb92f9762d95fa379fe4f61/molecule/distributed-wazuh-odfe/group_vars/managers.yml#L14-L19
There are more places with references to these variables, so it will be necessary to search and change all of them and check that the module works correctly after that.
The changes were tested with 4.4
. It failed because some removed parameters are required for that version, but the playbook succeeds until it tries to start the Wazuh manager.
The PR is ready for review and the automatic tests will fail because there are no 4.5.0
packages in pre-release
.
This issue goes to blocked due to the main development delay.