You won't be able to access a mapped drive within an Ansible task or any other non-interactive logons in Windows. There is a fundamental security barrier between how WinRM processes or scheduled task jobs are started and where mapped drives are accessible to the user.
Thanks Jordan -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.