[ansible-project] Re: Copying file from a remote windows share

2017-09-28 Thread Jordan Borean
Any path outside of the computer you are connecting with will not be accessible unless * You are using credential delegation (CredSSP or Kerberis with `ansible_winrm_kerberos_delegation: true`) * You use become * You use a scheduled task * You manually map the drive and copy the files Looks

[ansible-project] Re: Copying file from a remote windows share

2017-09-28 Thread MKPhil
Kinda managed to sort my own problem... I used this snippet in my PowerShell script: # Super-secret credentials... $network_user = "domain\user" $network_password = "monkey123" # Where do we want to connect to - note: do not use a trailing \ $remotepath = "\\server\path" # Convert to a secure