# Latest version of Ansible not supported by popular collections

**URL:** <https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119>\
**Category:** Get Help\
**Tags:** upgrade, collections, ansible-core\
**Created:** [September 26, 2023, 11:56am UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119 "2023-09-26T11:56:10Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 11:56am UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/1 "2023-09-26T11:56:10Z")

</div>

Are there new commands for Ansible 2.15.3? It seems that the following collections are no longer supported:

[WARNING]: Collection openvswitch.openvswitch does not support Ansible version 2.15.3  
[WARNING]: Collection ibm.qradar does not support Ansible version 2.15.3  
[WARNING]: Collection cisco.iosxr does not support Ansible version 2.15.3  
[WARNING]: Collection splunk.es does not support Ansible version 2.15.3  
[WARNING]: Collection ansible.netcommon does not support Ansible version 2.15.3  
[WARNING]: Collection cisco.nxos does not support Ansible version 2.15.3  
[WARNING]: Collection vyos.vyos does not support Ansible version 2.15.3  
[WARNING]: Collection ansible.posix does not support Ansible version 2.15.3  
[WARNING]: Collection frr.frr does not support Ansible version 2.15.3  
[WARNING]: Collection junipernetworks.junos does not support Ansible version 2.15.3  
[WARNING]: Collection cisco.asa does not support Ansible version 2.15.3

Which are making my playbooks unusable. I am not seeing in the documentation that there are different sets of commands for the latest version. What am I missing?

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [September 26, 2023, 1:13pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/2 "2023-09-26T13:13:49Z")

</div>

Hi,

I have a few questions, top of my head:

- For starter, on which commands do you get these WARN from ?
- What version of these collections are installed on your machine (`ansible-galaxy collection list`) ?
- Also, do you use any other tool than pure ansible-galaxy that might manage collections as well, and perhaps depends on older versions; I’m thinking AWX would do that, though I don’t use it so I’m not sure ?
- How did you upgrade Ansible packages in the first place ?

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 1:30pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/3 "2023-09-26T13:30:48Z")

</div>

Hi Pierre,

I mostly get this warning when I am running a playbook that includes cisco.nxos modules and commands.  
The collection that includes commands for Cisco Nexus switches is ansible.netcommon. I imagine once we start writing playbooks for our juniper machines we will encounter the same issue.

When I installed ansible-core, it installed version 2.15.3.

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [September 26, 2023, 2:03pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/4 "2023-09-26T14:03:32Z")

</div>

Thanks for the precisions Wendy. It seems to me that you are using older collections, that were not updated with ansible packages upgrade. Could you tell us what version of these collections are installed ? And if you use other tools on top of Ansible.

Also, what happens if you try to install one of these manually, for example: `ansible-galaxy collection install ansible.netcommon`, maybe with `--force`, see if it upgrades ?

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 2:20pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/5 "2023-09-26T14:20:28Z")

</div>

Hi Pierre,

When I try to re-install the collection I get the long list of warnings that I provided previously. Adding the --force parameter results in the same list of warnings.

How do I check for the version of the collection? Where can I find the updated collections?

I am running Ansible on Ubuntu 22.04.1 LTS.

---

<div class="post-metadata">

**Author:** ![chris](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris/32/293_2.png) [@chris](https://forum.ansible.com/u/chris)\
**Post date:** [September 26, 2023, 2:47pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/6 "2023-09-26T14:47:18Z")

</div>

> [@wendyodsm](#):
>
> How do I check for the version of the collection?

Can you try:

```bash
ansible-galaxy collection list

```

As @ptn suggested [above](http://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/2)

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 2:55pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/7 "2023-09-26T14:55:38Z")

</div>

ansible.netcommon is showing as version 1.5.0  
cisco.nxos is showing as version 1.4.0  
junipernetworks.junos is showing as version 1.3.0

---

<div class="post-metadata">

**Author:** ![chris](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris/32/293_2.png) [@chris](https://forum.ansible.com/u/chris)\
**Post date:** [September 26, 2023, 2:59pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/8 "2023-09-26T14:59:14Z")

</div>

Those are old versions! The latest versions for these collections:

- [Release v5.2.0 · ansible-collections/ansible.netcommon · GitHub](https://github.com/ansible-collections/ansible.netcommon/releases/latest) (currently 5.2.0)
- [Release v5.2.0 · ansible-collections/cisco.nxos · GitHub](https://github.com/ansible-collections/cisco.nxos/releases/latest) (currently 5.2.0)
- [Release v5.3.0 · ansible-collections/junipernetworks.junos · GitHub](https://github.com/ansible-collections/junipernetworks.junos/releases/latest) (currently 5.3.0)

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 3:06pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/9 "2023-09-26T15:06:15Z")

</div>

how do I get the updated versions?

---

<div class="post-metadata">

**Author:** ![chris](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris/32/293_2.png) [@chris](https://forum.ansible.com/u/chris)\
**Post date:** [September 26, 2023, 3:10pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/10 "2023-09-26T15:10:28Z")

</div>

See [installing collections](https://docs.ansible.com/ansible/latest/collections_guide/collections_installing.html#installing-collections)?

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [September 26, 2023, 3:10pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/11 "2023-09-26T15:10:43Z")

</div>

> [@wendyodsm](#):
>
> When I try to re-install the collection I get the long list of warnings that I provided previously. Adding the --force parameter results in the same list of warnings.

Appart for the warns, what is the output ? `--force` should reinstall collection from the latest version, except maybe if there is a dependence issue, though I’m not sure how ansible-galaxy works on that level.

You could always install collections somewhere else with `--collections-path` flag (or `-p`), then use this path in your config (export ANSIBLE\_COLLECTIONS\_PATHS=… would be one way to do it), though that wouldn’t tell us why you still have old versions lying around.  
Perhaps you already have those collections up to date somewhere but use another path in your config already ?

Could you output `ansible --version` as well ?

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 3:21pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/12 "2023-09-26T15:21:17Z")

</div>

output of ansible --version:

ansible [core 2.15.3]  
config file = None  
configured module search path = [‘/home/leon0425/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]  
ansible python module location = /home/leon0425/.local/lib/python3.10/site-packages/ansible  
ansible collection location = /home/leon0425/.ansible/collections:/usr/share/ansible/collections  
executable location = /home/leon0425/.local/bin/ansible  
python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (/usr/bin/python3)  
jinja version = 3.0.3  
libyaml = True

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [September 26, 2023, 3:37pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/13 "2023-09-26T15:37:48Z")

</div>

> ansible collection location = /home/leon0425/.ansible/collections:/usr/share/ansible/collections

I was interested to see if you had a specific path in there, but those are the default. No need to delve deeper IMO.

Still waiting for `ansible-galaxy collection install ansible.netcommon [--force]` (ansible.netcommon as an example), which might give us some useful information. Check version afterwards.  
Else, just try to upgrade all of them: `ansible-galaxy collection install --upgrade` and paste the output here. At this point, I fail to see why it wouldn’t work.

---

<div class="post-metadata">

**Author:** ![wendyodsm](https://avatars.discourse-cdn.com/v4/letter/w/45deac/32.png) [@wendyodsm](https://forum.ansible.com/u/wendyodsm)\
**Post date:** [September 26, 2023, 3:44pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/14 "2023-09-26T15:44:17Z")

</div>

After working through an internal proxy issue that was causing the: ansible-galaxy collection install --upgrade to fail. I was able to get the collections updated.

Thank you for all of 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:** [September 27, 2023, 6:03am UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/15 "2023-09-27T06:03:10Z")

</div>

> [@wendyodsm](#):
>
> Are there new commands for Ansible 2.15.3?

Please note that this is the [ansible-core](https://pypi.org/project/ansible-core/) version. [Ansible](https://pypi.org/project/ansible/) does not have a 2.15.x version at all, its current versions are in the 8.x.y range.

---

<div class="post-metadata">

**Author:** ![Leo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/leo/32/23_2.png) [@Leo](https://forum.ansible.com/u/Leo)\
**Post date:** [September 27, 2023, 9:31pm UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/16 "2023-09-27T21:31:01Z")

</div>

> [@wendyodsm](#):
>
> After working through an internal proxy issue that was causing the: ansible-galaxy collection install --upgrade to fail. I was able to get the collections updated.

Hi @wendyodsm , welcome to the community forum!

Thank you for letting us know you solved the issue. From the thread I think this post by @ptn could be considered the solution:

> [@Latest version of Ansible not supported by popular collections](http://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/13):
>
> ansible collection location = /home/leon0425/.ansible/collections:/usr/share/ansible/collections I was interested to see if you had a specific path in there, but those are the default. No need to delve deeper IMO. Still waiting for ansible-galaxy collection install ansible.netcommon [--force] (ansible.netcommon as an example), which might give us some useful information. Check version afterwards. Else, just try to upgrade all of them: ansible-galaxy collection install --upgrade and paste th…

We would appreciate if you tick the check-box at the bottom of that post to mark the thread as solved, this way we recognize the helpers and also keep the forum tidy!

And a ++ to @chris for the help there 😉

---

<div class="post-metadata">

**Author:** ![gwmngilfen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gwmngilfen/32/6_2.png) [@gwmngilfen](https://forum.ansible.com/u/gwmngilfen)\
**Post date:** [October 6, 2023, 8:50am UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/17 "2023-10-06T08:50:26Z")

</div>

It’s been another week, so I’ve accepted @ptn’s post as the solution. Please do reply if that’s incorrect 🙂

---

<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:** [November 5, 2023, 8:50am UTC](https://forum.ansible.com/t/latest-version-of-ansible-not-supported-by-popular-collections/1119/18 "2023-11-05T08:50:36Z")

</div>

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