Simplified answer, modules are mostly just a scripts or binary executables, which Ansible copies to the remote and then executes them using the appropriate interpreter if needed.
The long answer has many details and many different branches to consider. Also, while Ansible itself only ships with Python and Powershell modules, and can bundle certain dependencies (module_utils) that don't need to be present in the target system.In the end any language should work as well as binary files, but you won't have dependency packing features. The main requirement is that the module can take input as JSON and outputs JSON with some required fields, which should be doable in any/all programming languages. -- ---------- Brian Coca -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7eHWQ7U%2B6b6uJ1Sau3yibhAq5nRQKF6ELQE8WTJ7%3D-qYQ%40mail.gmail.com.
