Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\"

I’d say to approach this issue as a problem with the remote_user you’re using. So it’s worth checking if remote_user has all required privileges to become root.
Another quick test is to set remote_tmp to just /tmp.
Hope that’s helpful