# Collection versioning vs ansible

**URL:** <https://forum.ansible.com/t/collection-versioning-vs-ansible/44093>\
**Category:** Get Help\
**Tags:** ansible-galaxy, galaxy-ng\
**Created:** [July 25, 2025, 1:06pm UTC](https://forum.ansible.com/t/collection-versioning-vs-ansible/44093 "2025-07-25T13:06:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![romgo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/romgo/32/5202_2.png) [@romgo](https://forum.ansible.com/u/romgo)\
**Post date:** [July 25, 2025, 1:06pm UTC](https://forum.ansible.com/t/collection-versioning-vs-ansible/44093/1 "2025-07-25T13:06:16Z")

</div>

Hello,

I am a bit lost to understand ansible versioning especially with regards to collection version number.

I am currently using ansible on debian 12 :

```auto
root@server :~# dpkg --list | grep ansible
ii ansible 10.7.0-1ppa~jammy all Ansible collections for ansible-core
ii ansible-core 2.17.10-1ppa~jammy all Ansible IT Automation

```

This version get build with general collection 9.5.2 :

```auto
root@server:~# ansible-galaxy collection list | grep general
community.general 9.5.2

```

I need to use this collection : [community.general.scaleway inventory – Scaleway inventory source — Ansible Community Documentation](https://docs.ansible.com/ansible/latest/collections/community/general/scaleway_inventory.html)

But is is shipped with general collection 10.7.1

So where I can find the mapping with ansible version & community.general collection ?  
Is the proper way to execute :  
`ansible-galaxy collection install community.general:10.7.1`

Thank you for your help

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [July 25, 2025, 2:03pm UTC](https://forum.ansible.com/t/collection-versioning-vs-ansible/44093/2 "2025-07-25T14:03:16Z")

</div>

Why do you need community.general 10.7.1? The plugin is part of all community.general releases, it’s just that the documentation you’re looking at is for the plugin as included in community.general 10.7.1. If the plugin wouldn’t have been in all versions of community.general, it would say something like “New in community.general x.y.z” like for [community.general.opennebula inventory – OpenNebula inventory source — Ansible Community Documentation](https://docs.ansible.com/ansible/latest/collections/community/general/opennebula_inventory.html).

> So where I can find the mapping with ansible version & community.general collection ?

You can find that in the ansible-build-data repository: [GitHub - ansible-community/ansible-build-data: Holds generated but persistent results from building the ansible community package](https://github.com/ansible-community/ansible-build-data/)  
For example, [10/ansible-10.7.0.deps](https://github.com/ansible-community/ansible-build-data/blob/main/10/ansible-10.7.0.deps) contains the versions of all collections contained in Ansible 10.7.0 (which you have installed).

You can of course explicitly install another version of community.general with `ansible-galaxy collection install`, but then you also have to take care of updating it once a new version gets released. If you’re using the `ansible` package, it’s usually best to stick to the collection versions included in it (if you don’t explicitly need a newer version of something).

---

<div class="post-metadata">

**Author:** ![romgo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/romgo/32/5202_2.png) [@romgo](https://forum.ansible.com/u/romgo)\
**Post date:** [July 25, 2025, 3:02pm UTC](https://forum.ansible.com/t/collection-versioning-vs-ansible/44093/3 "2025-07-25T15:02:42Z")

</div>

thank you for clarifying !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 24, 2025, 3:02pm UTC](https://forum.ansible.com/t/collection-versioning-vs-ansible/44093/4 "2025-08-24T15:02:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
