Place for common (shared) code for collections

Publishing that collection to Galaxy with Zuul also worked: Ansible Galaxy

I released 1.0.0 of community.library_inventory_filtering_v1, and applied inclusion into Ansible for the collection (community.library_inventory_filtering_v1 · ansible-collections/ansible-inclusion · Discussion #68 · GitHub).

@felixfontein I wanted to have a look at the inclusion request, but stumbled on the Python requirements for collections :confused:

I think this is something we should discuss sooner or later.

edit: BTW since this is a new collection, do you really want to still support 2.9 and other EOL versions? Personally, I’d support the latest version (2.16+) or maybe all versions which aren’t EOL yet (2.14+).

We already discussed it this fall, and updated the requirements ([Associated vote ended on 2023-08-30] Update Python requirements for collections included in Ansible · Issue #251 · ansible-community/community-topics · GitHub). We didn’t update the checklist, though… Adjust Python requirements to collection inclusion requirements by felixfontein · Pull Request #231 · ansible-collections/overview · GitHub should fix that.

In that case the collection would be pretty much worthless since most collections included in Ansible cannot use it, since they support ansible-core (or even ansible-base or Ansible 2.9) versions that are already EOL.

From the ones I maintain, there’s community.dns (two inventory plugins, supports Ansible 2.9+), community.hrobot (one inventory plugin, supports Ansible 2.9+), community.docker (three inventory plugins, supports ansible-core 2.11+). Even community.general (several inventory plugins) supports EOL ansible-core versions (2.13+).

1 Like

Just wanted to mention if. If you have good reasons to still support 2.9, that’s OK.

community.library_inventory_filtering_v1 is now part of Ansible (more precisely: from the next release on - Add community.library_inventory_filtering_v1 collection by mariolenz · Pull Request #352 · ansible-community/ansible-build-data · GitHub has been merged yesterday), and community.docker will start depending on it very soon (via Add inventory filter capability by felixfontein · Pull Request #698 · ansible-collections/community.docker · GitHub).

1 Like