Problem copying a file from a network drive to a another directory (Windows 10)

Hi all.

As a beginner, one of the first playbooks I am developing is to copy a file from a network drive to the windows host.

`
[warken1@ansible-controller windows-projects]$ ansible --version
ansible 2.9.7
config file = /etc/ansible/ansible.cfg
configured module search path = [‘/home/warken1/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Nov 21 2019, 19:31:34) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]

`

The playbook file_TU_copy.yml:

`

You cannot access mapped drives through WinRM. You need to use the full UNC path. Also you need to be aware of the credential delegation problem when accessing network paths when using WinRM. You can connect with CredSSP, or Kerberos with delegation or use become on the task to bypass that.