Hello Isuru,
The wazuh-ansible vanilla playbooks can upgrade your Wazuh/ELK but configuration files for Wazuh manager, Wazuh agent, Elasticsearch and Kibana are copied from templates after installation so the existing settings are overwritten. As a workaround to avoid losing your settings, the playbook attached to this message includes tasks to just stop, upgrade (through packages install) and restart the different Wazuh components.
manager, agent, elasticsearch y kibana. Fill just the ones you want to upgrade. i.e:manager:
hosts:
100.100.100.100:
elasticsearch:
hosts:
100.100.100.100:
agent:
# hosts:
kibana:
hosts:
100.100.100.100
Greetings,
JP