Ansible Galaxy Module aka Similar to Powershell Module
0 vote
Looking to see if its possible to create ansible galaxy module and playbooks similar to what powershell modules provide.except the backend would need to be python / REST to the REST api's for functionality to work with ansible ( higher layer ) ? Personally haven't created any lower level modules like this, but hoping that Devloutions would be able to help provide those modules?
We are more recently going to ansible, and this would be great to get added/supported for RDM creating, reading, updating, deleting functionality for session managemnt automation.
Hello,
This is not a in our short term roadmap and it's a huge project to support this. We use to have something like that (python script) but it was not used a lot. I will add this to my notes and verify what we can do. I'm not sure if this is useful but I've seen this:
https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_powershell_module.html
Regards
David Hervieux
Right, the python code is the underlying code needed to support an ansible module which is written ontop of the pyton code. The Ansible code then essentily abstracts and makes it easier to use the python code in a more devops way.
We do have powershell scripts atm to do the same. So can certainly can continue to use that for now, however, hoping the above can be done at some point. When it comes to devops type things/automation these are great features to add are becoming requirements as more enterprises look to doing IaC which we are.
Thanks for the consideration for these features. You could also add Terriform Module also in this same catagory as that is another tool in the same devops landscape.