Currently, the process doesn't work because the main backup.py script expects the existence of a python binary, which doesn't exist in our instances. Only python2* and python3* exist. As a result of this, only transaction logs are stored but without the necessary base backup.
As the correction of our situation, I suggest adding a new ansible task to check the existence of python followed by the creation of the python link in the negative response.