In the cluster documentation linked [here](https://github.com/wazuh/wazuh-documentation/blob/master/source/user-manual/manager/wazuh-server-cluster.rst#distributed-deployment-1) the script block creates a /etc/filebeat/certs then immediately removes the directory. This causes the script block to fail as there is not a directory available for the .tar file to be unpacked into.