# Currently supported versions of ansible-core

**URL:** <https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825>\
**Category:** Get Help\
**Tags:** documentation, collections, ansible-core, ansible-lint\
**Created:** [December 9, 2023, 4:46pm UTC](https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825 "2023-12-09T16:46:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlesrocket](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/charlesrocket/32/986_2.png) [@charlesrocket](https://forum.ansible.com/u/charlesrocket)\
**Post date:** [December 9, 2023, 4:46pm UTC](https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825/1 "2023-12-09T16:46:36Z")

</div>

Tried to bump a collection’s meta to minimal `2.13.9` but got `meta-runtime[unsupported-version]: requires_ansible key must be set to a supported version` ([chore: bump ansible version · charlesrocket/essential-collection@dec5782 · GitHub](https://github.com/charlesrocket/essential-collection/actions/runs/7136642778/job/19435578098#step:5:1)). While checking [meta-runtime - Ansible Lint Documentation](https://ansible.readthedocs.io/projects/lint/rules/meta-runtime/) I decided to push `2.15.0` but sanity tests went red with `Warning: : Collection charlesrocket.essential does not support Ansible version` ([fix(git): rename internal variables · charlesrocket/essential-collection@447c204 · GitHub](https://github.com/charlesrocket/essential-collection/actions/runs/7143794063/job/19456057688#step:3:1))

Requiring ansible-core `2.14.0` resolves linter and sanity tests. I see `2.13.x` is gone so this is outdated docs but not sure why I can’t go with the current `2.15.0` [https://github.com/ansible/ansible-lint/blob/cba7c512bb94a2ad36109f20358475ae18c88bc6/src/ansiblelint/rules/meta\_runtime.py#L34](https://github.com/ansible/ansible-lint/blob/cba7c512bb94a2ad36109f20358475ae18c88bc6/src/ansiblelint/rules/meta_runtime.py#L34)

---

<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:** [December 9, 2023, 9:11pm UTC](https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825/2 "2023-12-09T21:11:24Z")

</div>

I really hate this rule and I actively disable it for all collections I maintain that use ansible-lint. I don’t see **any** reason why this rule should be enabled by default in ansible-lint. I can only recommend disabling it in `.ansible-lint`.

---

<div class="post-metadata">

**Author:** ![flowerysong](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/flowerysong/32/2305_2.png) [@flowerysong](https://forum.ansible.com/u/flowerysong)\
**Post date:** [December 10, 2023, 4:46am UTC](https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825/3 "2023-12-10T04:46:02Z")

</div>

> [@charlesrocket](#):
>
> not sure why I can’t go with the current `2.15.0`

This is because you’re running the tests with 2.14. [https://github.com/charlesrocket/essential-collection/blob/b3840601a14ff0b0ef33179d61f099c31c572ba7/.github/workflows/ci.yml#L29C1-L32C31](https://github.com/charlesrocket/essential-collection/blob/b3840601a14ff0b0ef33179d61f099c31c572ba7/.github/workflows/ci.yml#L29C1-L32C31) calls `ansible-community/ansible-test-gh-action` without specifying `ansible-core-version`, and the default value is `stable-2.14`.

Ideally you should be running the tests with each major version of Ansible that your collection supports. You can see an example of doing so at [https://github.com/ansible-collections/collection\_template/blob/eb70f93f3663f5847d763e6dec414395eff9b05b/.github/workflows/ansible-test.yml#L62-L111](https://github.com/ansible-collections/collection_template/blob/eb70f93f3663f5847d763e6dec414395eff9b05b/.github/workflows/ansible-test.yml#L62-L111)

---

<div class="post-metadata">

**Author:** ![charlesrocket](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/charlesrocket/32/986_2.png) [@charlesrocket](https://forum.ansible.com/u/charlesrocket)\
**Post date:** [December 10, 2023, 10:29am UTC](https://forum.ansible.com/t/currently-supported-versions-of-ansible-core/2825/4 "2023-12-10T10:29:29Z")

</div>

Oh I see now, my layout is out of date, thanks. The Default version still should be the current one.
