Sounds like you are hitting the double hop issue with winrm
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: 'Praveen Kumar Singh' via Ansible Project
<[email protected]>
Sent: Tuesday, February 16, 2021 9:32:28 PM
To: Ansible Project <[email protected]>
Subject: [ansible-project] Win_copy Not working
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
[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]<mailto:[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<https://groups.google.com/d/msgid/ansible-project/4e1a5f17-aee7-4c53-93b9-63d34ae8f5e2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/SYBPR01MB561631359FB2FD30A4C9CD3BAD879%40SYBPR01MB5616.ausprd01.prod.outlook.com.