I haven't seen one.
Sounds great. Note that core modules (for maintaince reasons) need to be written in Python and to use the common module infrastructure -- so as long as you're ok with that, I'd like to see this in core.
If you want to write it in Ruby instead though, you certainly can, and we can link it in the ansible-resources project/list for those to add it who want it. It just wouldn't be shippable with Ansible.
I'd prefer the first option if you are fine with shelling out to gems and using the command line -- and it's probably more stable than the API anyway (guessing).
--Michael
Jeroen -
I would strongly encourage this to be written to use rbenv instead of straight system gems. Things are so much better when you can choose your ruby version on a per-app/script basis.
I currently have various odd scripts/task files doing this, but would be happy to adopt/debug/contribute to a ruby/rubygems module if it was done using rbenv.
Makes sense. I’ll look at things first before doing anything. I’ll get back on it.
If it supports rbenv that's great, but if it *requires* rbenv, that's
not acceptable.
I asked on IRC if anyone was working on a gem module, and it turns out demand is there, but nothing has been put into core yet.
Jeroen, did you make a start on it?
Peter