I am attempting to run an .exe that I created using Auto IT. It simply makes two clicks on a program to perform a test and logs it. It works fine if I am logged into the host and double click the exe.
I need to run this via ansible but I keep getting false positives. I am using the win_psexec module.
Ansible runs psexec with no problem and says it launches the exe successfully in the awx log.
When I log on to the host and check the log from the Exe, it has not been ran.
Here is the task being ran
- name: Run myexe
win_psexec:
command: Myexe.exe
interactive: yes
system: yes
Any ideas on whats going on ?