Hacking on extras modules

Hello there,

I’d really like to start hacking on some extras modules (specifically some of the missing libvirt functionality that I’ve been plugging with duct tape, e.g. volumes etc) with the intent to later submit them for possible inclusion. I’ve been using Ansible (and creating my own modules) for a while now so I’m au fait with most of the process - however until now my modules have always been private (relatively specific with no overwhelming reason to tidy up and publish them) so I’m not quite sure what to do with regards to hacking on or adding modules to the extras repo.

I understand that I can checkout the main repo and use the provided development helpers - but if I have forked the extras repo, what’s the best way to use my fork instead of the upstream? My first thought is simply to fork both repos and create a branch in which my extras repo is used and then just be careful when rebasing with the upstream. Is this what I’m supposed to do, or is there a better way?

Thanks!

Cliff Rowley

Ah lovely, I was already aware of the library folder (I use it lots, both root and role level) it’s the alternate library path I was after. Thanks!