Something I have done in the past is wrap the command I want to run inside a powershell script but have the powershell script run a test-path first so the command only gets run if the test-path is false. That's not great though as the script always reports 'changed', so a module would be better.
There is a win_package module which hasn't yet been merged which I believe will run exe files that might be just what you need. I have not tried it but it looks worth a go. You can use unmerged modules by copying them into your /etc/ansible/library Hope this helps. Jon -- 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/ab32eb40-27d1-425d-879d-cadef9498c1f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
