I got it! I used win_command instead.
---
- name: test script module
hosts: nuc
tasks:
- name: run simple script
win_command: C:\Users\yrunner\Desktop\lp1.bat
Works great!
--
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/90dd25fc-1296-4846-9bad-a7930f52ae9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.