Supported and tested ansible-core versions #206
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Kamino#206
Reference in new issue
Block a user
Part of #87
Question
Resolve stale and contradictory claims decided "a stated floor is a tested floor" and so raises
requires_ansiblefrom 2.19 to 2.22, the one version CI installs. Which ansible-core versions does the Collection support, which does CI test, and how is a raised floor released?From the review
meta/runtime.yml, the tool pins.Evidence from the review of the map (2026-11-15).
Controller Python 3.13
Requires-Python: >=3.13(read from the virtualenvscripts/dev-setup.shbuilds). A 2.22 pre-release changelog line found by search says "Drop support for Python 3.12 on the controller"; the final changelog was not checked.requires_ansible: ">=2.22.0".Dropping 2.20 and 2.21
requirements-dev.txt:11pinsansible-core==2.22.0.Major or minor
meta/runtime.yml:5saysrequires_ansible: ">=2.19.0"and every role declaresmin_ansible_version2.19, so a consumer may rely on it.Two readings of "a stated floor is a tested floor"
The findings disagree here.
Molecule's ansible-core
molecule.yml:20says "The molecule venv is provisioned on the runner"; it is built outside this repository, so its ansible-core is not this repository's pin. Lint, Build and sanity userequirements-dev.txt.requirements-dev.lockin the Molecule job, cached by checksum like the collections already are (molecule.yml:21-23). Not costed.Open-ended or bounded
Resolution
Decided with the maintainer, 2026-11-16.
requirements-dev.txtpins, and CI tests only that one (sanity, lint and Molecule). Support has no ceiling: the README says "tested on the pinned ansible-core; newer is expected to work". Floor-and-latest and "every upstream-maintained core" were rejected because the maintainer prefers to stay current over carrying a sanity matrix.meta/runtime.ymlstatesrequires_ansible: ">=X.Y.0"and every role'smin_ansible_versionis"X.Y", both equal to the pinned minor. Patch bumps don't touch them.breaking_changesfragment, and the bot-diff gate (run frommain's copy) accepts those lines and that one fragment.renovate.json, PR #45). The human step is the maintainer's merge of the release pull request, which shows the major.breaking_changesfragment, which settles the open point in #164. There is no 1.x maintenance branch (latest-only support). The known consumer (2.21 on Python 3.12) stays on its last 1.x tag until it moves its controller to Python 3.14..python-version, which is the only one CI runs. Control: a Lint check that the README line matches.python-version. Dropping a Python version is breaking. The core's own minimum (3.13) is not stated because it is untested here.ciimage.moleculeand its Docker driver get pinned inrequirements-dev.txt, so sanity, lint and Molecule share one pin and Renovate's core bump is behaviour-tested by its own PR. The runner-provisioned/opt/molecule-venvgoes, which also removes a dependency on something outside this repository. How the job reaches the Docker daemon from the image is handed to Molecule and Renovate on the shared runner.Backlog