I recently put the code for an Ansible module which I developed on GitHub. It is called zypper_lock and can be found at GitHub - melauer/zypper_lock: Ansible modules for managing zypper locklists . This module is based on dnf_versionlock from community.general and has similar functionality but works with the “zypper” package manager which comes with SUSE Linux.
I was hoping to get some advice on how to publish this module. Looking at ansible-galaxy I see that it is possible to publish roles and collections and I see that collections can include modules. I guess my questions are:
Is it normal to publish a collection in ansible-galaxy for just a single module? Or is that bad form? Perhaps just making it available on GitHub is sufficient.
Related question: Given that ansible-galaxy recently changed and that some of the info I have found is now out of date, would it be a good idea to wait a bit for that whole situation to stabilize?
What sorts of things should I do to make this code more useful to people? I can search the web for guides for this sort of thing but if anyone can point me in the right direction, maybe to some sort of official guide, that would save me some time and I would really appreciate it.