# Collection path

**URL:** <https://forum.ansible.com/t/collection-path/44864>\
**Category:** Get Help\
**Created:** [November 19, 2025, 4:47pm UTC](https://forum.ansible.com/t/collection-path/44864 "2025-11-19T16:47:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chumi](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@chumi](https://forum.ansible.com/u/chumi)\
**Post date:** [November 19, 2025, 4:47pm UTC](https://forum.ansible.com/t/collection-path/44864/1 "2025-11-19T16:47:14Z")

</div>

Hi,

I am trying to use collections.  
i have tree:

```auto
ansible/
./ansible.cfg
./roles
./group_vars
./requirements
...

```

i tried to give a path:

```auto
[defaults]
collections_paths = /home/bob/.ansible/collections:/usr/share/ansible/collections:/usr/lib/python3.13/site-packages/ansible_collections

```

But when running:  
ansible --version

It does not apply.  
it shows only:

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

I have tried also : ‘collections\_path’

The right path is : /usr/lib/python3.13/site-packages/ansible\_collections

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/markstos/32/9706_2.png) [@markstos](https://forum.ansible.com/u/markstos)\
**Post date:** [November 19, 2025, 6:23pm UTC](https://forum.ansible.com/t/collection-path/44864/2 "2025-11-19T18:23:20Z")

</div>

I’m having difficulty locating `community.general.ip_route`. I don’t see it in the `community.general` collection. How did you install `community.general.ip_route` and where did you install it to?

Here’s the `community.general` collection, and there’s `ip_route` as part of that:

> **[Community.General — Ansible Community Documentation](https://docs.ansible.com/projects/ansible/latest/collections/community/general/index.html)**

---

<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:** [November 19, 2025, 6:41pm UTC](https://forum.ansible.com/t/collection-path/44864/3 "2025-11-19T18:41:20Z")

</div>

`community.general.ip_route` sounds like a hallucinating AI to me. That module doesn’t exist and never existed.

---

<div class="post-metadata">

**Author:** ![chumi](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@chumi](https://forum.ansible.com/u/chumi)\
**Post date:** [November 20, 2025, 2:54pm UTC](https://forum.ansible.com/t/collection-path/44864/4 "2025-11-20T14:54:33Z")

</div>

Yes, my mistake.

Beyond, this error, what is wrong with my ansible.cfg, because i did not succeed to define a new collection path.
