I am trying to copy backup files from one remote windows server to another windows server using ansible playbook but not able to do so. I am using below playbook and which is running successfully also but when I check the backup file at destination location it is not present there. So any help would be appreciated.
Your dest should have 2 backslashes at the start, right now it’s being treated as a local path. Even with a UNC path you are most likely going to hit the double hop problem with delegating your credentials. Make sure you use Kerberos with credential delegation, CredSSP, or use become on the task to bypass that.