I’m trying to find a way to trigger an ansible playbook for a windows machine using an external system or script, for example, powershell or python. Is this possible?
Can anyone tell me the list of ways to trigger ansible externally. Kindly help.
Alternatives to Tower exist, such as flansible, or even jenkins (both offer rest apis so you could interact in the same way. Likely to need more setup as their integration with ansible playbooks is probably not going to be quite as slick).
You can of course run ansible inside Windows Subsystem for Linux on recent Windows 10 builds although nobody (not even microsoft I believe) is recommending doing so for production use.
Thank you for a quick reply!
We don’t have access to tower as of now. So we will have to choose between flansible and Jenkins. Is there anyway we can receive support in this front??
As far as I know flansible is open source project, so its best endeavors of those who use and make it.
I think it might be possible to get support on Jenkins, although I’ve found it to be straightforward to use myself and haven’t ever had the need for support.
If support is important for you/your organisation then maybe it is worth considering paying for it.