In my environment, I found that we had to add the “remote_tmp” variable and make it unique per user. I think you’re running into the same thing if you look at the error message from that point of view:
Permission denied:
unix_listener: cannot bind to path: /root/.ansible/cp/<random string of characters>
If it’s the same issue I experienced, adding this to my user (or service account) “.ansible.cfg” file helped:
[defaults]
remote_tmp = /tmp/ansible.${USER}