I am trying to copy backup file from one remote windows server to another 
windows server using below playbook but the backup file is not copying. 
Although the playbook is running successful then also the backup file is 
not present at the destination. Below is the playbook I am using.

---
  - hosts: SQLSERVER

    tasks:
      - name: Sync SQLSERVER to SQLSERVER2
        win_copy:
           src: E:\backups
           dest: \SQLSERVER2\d$\Retention10days\
           remote_src: yes
           recurse: yes

[image: Capture.PNG]

Thanks and regards,
Praveen Singh

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4e1a5f17-aee7-4c53-93b9-63d34ae8f5e2n%40googlegroups.com.

Reply via email to