wazuh / wazuh-ansible

Wazuh - Ansible playbook
https://wazuh.com
Other
285 stars 187 forks source link

wazuh-certs-tool.sh v4.6 is not available to download #890

Open gelin opened 1 year ago

gelin commented 1 year ago

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>
gelin commented 1 year ago

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.

gelin commented 1 year ago

Aha. The release v4.3.10 works well. The master doesn't work here. Ok.

teddytpc1 commented 1 year ago

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.

juresaht2 commented 1 year ago

Use the stable version of the code. The master branch is development.