Where is the setup-x86_64.exe located? By default commands run from 
win_command and win_shell are run in the user's home directory which means 
it will be trying to execute *C:\Users\pkmbuilder\setup-x86_64.exe*. If the 
exe is located in another directory you will either have to reference the 
full/relative path from that user's home directory or change the working 
directory on the task. To change the working directory to another path (the 
example is C:\temp) you can set the task as;

- win_command: cmd.exe /c dir
  args:
    chdir: C:\temp

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9a90484a-5f68-4af4-be09-4588b4729adb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to