reposync --gpgcheck --repoid=<> --download-path=/var/www/html /usr/share/wazuh-indexer/bin/indexer-security-init.sh -ho 1.1.1.1 --port 9200 --options "-backup /etc/wazuh-indexer/opensearch-security -icl -nhnv" curl -X POST "https://1.1.1.1:9200/_flush" -u admin -k ansible wi_cluster -m shell -a 'sudo systemctl stop wazuh-indexer' ansible wi_cluster -m shell -a 'cp /etc/wazuh-indexer/jvm.options /etc/wazuh-indexer/jvm.options.old' ansible wi_cluster -m shell -a 'sudo yum upgrade wazuh-indexer -y' ansible wi_cluster -m shell -a 'cp /etc/wazuh-indexer/jvm.options.old /etc/wazuh-indexer/jvm.options' ansible wi_cluster -m shell -a 'sudo systemctl daemon-reload; sudo systemctl enable wazuh-indexer; sudo systemctl start wazuh-indexer' ansible wi_cluster -m shell -a '/usr/share/wazuh-indexer/bin/indexer-security-init.sh' cp /etc/filebeat/filebeat.yml /etc/filebeat/filebeat.yml.old yum upgrade filebeat filebeat setup --pipelines filebeat setup --index-management -E output.logstash.enabled=false cp /etc/wazuh-dashboard/opensearch_dashboards.yml /etc/wazuh-dashboard/opensearch_dashboards.yml.old yum upgrade wazuh-dashboard