wazuh-ansible
wazuh-ansible copied to clipboard
wazuh-certs-tool.sh v4.6 is not available to download
I'm trying to install Wazuh indexer with the provided Ansible role. It fails with this error:
TASK [wazuh-indexer : Local action | Download certificates generation tool] *****************
fatal: [indexer1]: FAILED! => {"changed": false,
"dest": "/home/<skip>/ansible/indexer/certificates/wazuh-certs-tool.sh",
"elapsed": 1,
"msg": "Request failed",
"response": "HTTP Error 404: Not Found",
"status_code": 404,
"url": "https://packages.wazuh.com/4.6/wazuh-certs-tool.sh"}
That's true, the https://packages.wazuh.com/4.6/wazuh-certs-tool.sh is not available to download. The page shows:
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>4.6/wazuh-certs-tool.sh</Key>
<RequestId>2SHKY9ZZ0P3R7G43</RequestId>
<HostId>f0/kbuTy3NNOigQ0Clh/fAwfUOESXc1fxmFzvNtD2SVee0g3V6V348EFnvHI4s6vigR/srQAHIA=</HostId>
</Error>
Oh... Probably, Wazuh 4.6 is not even released yet. The last script available is https://packages.wazuh.com/4.4/wazuh-certs-tool.sh, v4.4. The release notes page reports the last version of v4.3.10.
However, the role has the default value: indexer_version: 4.6.0
.
Aha. The release v4.3.10 works well. The master doesn't work here. Ok.
Hi @gelin.
Exactly, the latest release is v4.3.10
. You can use that tag (v4.3.10) to deploy Wazuh using Ansible.
master
branch includes the latest development version.
Use the stable version of the code. The master branch is development.