You pretty much need to copy the win_shell task as it was (with any credential or path changes you need). You also don't need the win_copy tasks as the win_shell task will do that for you, I only provided that example to show you how it is easier to use become when 2.5 comes out.
In the future, when you say there are errors, please provide those errors itself as it makes it easier to see what is going on. Thanks Jordan -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6a9506b9-8377-4a61-9ed7-b6f9f40e94cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
