docs!: correct stale claims about roles, licensing, the ansible-core floor and build_ignore #281

Merged
Defame1297 merged 3 commits from docs/164-stale-claims into main 2026-11-24 13:29:25 +00:00
Owner

Closes #164

What

Two commits, so the breaking floor raise can be reviewed and reverted on its own. Rebuilt on main after #225 landed (Molecule now runs from the ci image, ansible-core 2.22.0).

docs: name only the roles that ship and drop their licence leftovers

  • README intro and galaxy.yml description name every role under roles/, including cloudflared, gitea and gitea_runner (the internal _binary_update marked as such), no count; the intro links to "Roadmap", which is unchanged.
  • NOTICE, REUSE.toml: pihole, proxmox_host and rke2 entries and the "arrive with their roles" comment removed; ufw before.rules.j2 kept. README "Licence" and NOTICE name before.rules.j2 as the GPL-3.0-only reason.
  • LICENSES/Apache-2.0.txt, EUPL-1.2.txt, MIT.txt deleted, with the stale LICENSES/EUPL-1.2.txt line in tests/sanity/ignore-common.txt (sanity fails on an ignore entry for a missing file).
  • scripts/reuse_lint.py deleted (it had no test); the hook runs plain reuse lint; its IGNORED entry in scripts/select_molecule_scenarios.py goes too.
  • galaxy.yml: bounds comment says CI tests the versions pinned in requirements.yml; HANDOFF.md and .reuse removed from build_ignore.
  • system_baseline and systemd_hardening READMEs no longer present Ubuntu 22.04 as a target; they say it is listed in meta/main.yml but neither supported nor tested. Dropping jammy/all from meta/main.yml is left to #133.
  • roles/docker/molecule/default/prepare.yml: a comment cited a pihole scenario that does not exist.
  • trivial fragment.
  • No image version edit: CI assigns the ci image version for the .pre-commit-config.yaml change (#165).

chore!: raise the ansible-core floor to 2.22, the pinned core

  • meta/runtime.yml requires_ansible: ">=2.22.0" with the comment wording from #206; all thirteen roles/*/meta/main.yml min_ansible_version: "2.22".
  • breaking_changes fragment (ships as 2.0.0; galaxy.yml version: is left to the release commit).
  • .ansible-lint supported_ansible_also: ["2.22."]: ansible-lint 26.10.1's built-in list ends at 2.19, so meta-runtime[unsupported-version] rejects >=2.22.0.

Verified (locally)

  • pre-commit run --all-files and the commit hooks: all pass.
  • python3 -m unittest discover -s tests/scripts: 235 tests OK.
  • ansible-test sanity (scripts/ansible-test-sanity.sh): passed.
  • ansible-galaxy collection build + scripts/check_tarball.py: 287 entries, all allowed; LICENSES/ holds only the two GPL texts; no reuse_lint or HANDOFF paths.
  • git grep for pihole, proxmox_host, rke2, reuse_lint, HANDOFF, 2.19: only the README Roadmap's future roles and test fixtures remain.
  • ansible-core 2.21 refuses requires_ansible: ">=2.22.0" at ansible-galaxy install (seen in Molecule run 4520 on the old runner venv).
  • Standing alone: the diff only removes references to other repositories; none are added.

Not verified

  • Lint, Build and Molecule in CI. Every role's meta changes, so Molecule selects the full suite.

Review findings not taken

  • meta/runtime.yml names a Lint check that does not exist yet: the wording is the one #164 and #206 prescribe; the check arrives in #224, which this blocks.
  • Fragment says controller Python 3.14 though core 2.22 needs 3.13: #206 point 4 states 3.14 (.python-version, the only one CI runs).
  • Floor in many files, Renovate cannot move it: #206 point 2 hands the floor move to a post-upgrade task and the bot-diff gate (#224).
  • Role list in README intro, status line and Galaxy description: the issue asks for the intro and description; the status line predates it.

Assisted-by: Claude Code

Closes #164 ## What Two commits, so the breaking floor raise can be reviewed and reverted on its own. Rebuilt on `main` after #225 landed (Molecule now runs from the `ci` image, ansible-core 2.22.0). **`docs:` name only the roles that ship and drop their licence leftovers** - README intro and `galaxy.yml` `description` name every role under `roles/`, including `cloudflared`, `gitea` and `gitea_runner` (the internal `_binary_update` marked as such), no count; the intro links to "Roadmap", which is unchanged. - `NOTICE`, `REUSE.toml`: pihole, proxmox_host and rke2 entries and the "arrive with their roles" comment removed; ufw `before.rules.j2` kept. README "Licence" and `NOTICE` name `before.rules.j2` as the GPL-3.0-only reason. - `LICENSES/Apache-2.0.txt`, `EUPL-1.2.txt`, `MIT.txt` deleted, with the stale `LICENSES/EUPL-1.2.txt` line in `tests/sanity/ignore-common.txt` (sanity fails on an ignore entry for a missing file). - `scripts/reuse_lint.py` deleted (it had no test); the hook runs plain `reuse lint`; its IGNORED entry in `scripts/select_molecule_scenarios.py` goes too. - `galaxy.yml`: bounds comment says CI tests the versions pinned in `requirements.yml`; `HANDOFF.md` and `.reuse` removed from `build_ignore`. - `system_baseline` and `systemd_hardening` READMEs no longer present Ubuntu 22.04 as a target; they say it is listed in `meta/main.yml` but neither supported nor tested. Dropping `jammy`/`all` from `meta/main.yml` is left to #133. - `roles/docker/molecule/default/prepare.yml`: a comment cited a pihole scenario that does not exist. - `trivial` fragment. - No image version edit: CI assigns the `ci` image version for the `.pre-commit-config.yaml` change (#165). **`chore!:` raise the ansible-core floor to 2.22, the pinned core** - `meta/runtime.yml` `requires_ansible: ">=2.22.0"` with the comment wording from #206; all thirteen `roles/*/meta/main.yml` `min_ansible_version: "2.22"`. - `breaking_changes` fragment (ships as 2.0.0; `galaxy.yml` `version:` is left to the release commit). - `.ansible-lint` `supported_ansible_also: ["2.22."]`: ansible-lint 26.10.1's built-in list ends at 2.19, so `meta-runtime[unsupported-version]` rejects `>=2.22.0`. ## Verified (locally) - `pre-commit run --all-files` and the commit hooks: all pass. - `python3 -m unittest discover -s tests/scripts`: 235 tests OK. - `ansible-test sanity` (`scripts/ansible-test-sanity.sh`): passed. - `ansible-galaxy collection build` + `scripts/check_tarball.py`: 287 entries, all allowed; `LICENSES/` holds only the two GPL texts; no `reuse_lint` or `HANDOFF` paths. - `git grep` for pihole, proxmox_host, rke2, reuse_lint, HANDOFF, 2.19: only the README Roadmap's future roles and test fixtures remain. - ansible-core 2.21 refuses `requires_ansible: ">=2.22.0"` at `ansible-galaxy` install (seen in Molecule run 4520 on the old runner venv). - Standing alone: the diff only removes references to other repositories; none are added. ## Not verified - Lint, Build and Molecule in CI. Every role's `meta` changes, so Molecule selects the full suite. ## Review findings not taken - *`meta/runtime.yml` names a Lint check that does not exist yet*: the wording is the one #164 and #206 prescribe; the check arrives in #224, which this blocks. - *Fragment says controller Python 3.14 though core 2.22 needs 3.13*: #206 point 4 states 3.14 (`.python-version`, the only one CI runs). - *Floor in many files, Renovate cannot move it*: #206 point 2 hands the floor move to a post-upgrade task and the bot-diff gate (#224). - *Role list in README intro, status line and Galaxy description*: the issue asks for the intro and description; the status line predates it. Assisted-by: Claude Code
Claude added this to the Open to contributors milestone 2026-11-21 20:52:30 +00:00
Defame1297 was assigned by Claude 2026-11-21 20:52:30 +00:00
CODEOWNERS rules requested review from Defame1297 2026-11-21 20:52:30 +00:00
Author
Owner

On hold until #225 lands; #164 is now blocked by it.

Molecule (run 4520) failed in all 13 scenarios at the Collection install, before any role ran: the runner-provisioned Molecule venv is ansible-core 2.21.6, and ansible-galaxy refuses requires_ansible: ">=2.22.0" (mortis.kamino:1.8.0 requires ansible-core >=2.22.0). Lint and Build passed. Once #225 runs Molecule from the ci image (ansible-core 2.22.0), rebase this branch and re-run Molecule.

On hold until #225 lands; #164 is now blocked by it. Molecule (run 4520) failed in all 13 scenarios at the Collection install, before any role ran: the runner-provisioned Molecule venv is ansible-core 2.21.6, and `ansible-galaxy` refuses `requires_ansible: ">=2.22.0"` (`mortis.kamino:1.8.0 requires ansible-core >=2.22.0`). Lint and Build passed. Once #225 runs Molecule from the `ci` image (ansible-core 2.22.0), rebase this branch and re-run Molecule.
Defame1297 added 2 commits 2026-11-24 12:52:01 +00:00
Name the roles under roles/ in the README intro and the Galaxy
description, and drop the NOTICE and REUSE.toml entries and licence texts
(Apache-2.0, EUPL-1.2, MIT) of roles that are not in the Collection. The
reuse_lint.py wrapper only tolerated those unused texts, so the hook runs
plain `reuse lint`. The GPL-3.0-only reason is ufw's before.rules.j2.

Remove HANDOFF.md and .reuse from build_ignore (neither has existed) and
correct the galaxy.yml comment on dependency bounds.

Part of #164

Assisted-by: Claude Code
chore!: raise the ansible-core floor to 2.22, the pinned core
Build / build (pull_request) Successful in 35s
Lint / lint (pull_request) Successful in 1m27s
Molecule / molecule (pull_request) Canceled after 10m22s
75d82becbf
requires_ansible and every role's min_ansible_version said 2.19, which CI
never tested; CI tests only the pinned ansible-core (2.22). The floor now
equals that minor. ansible-lint 26.10.1's built-in supported list ends at
2.19, so .ansible-lint adds 2.22 for meta-runtime[unsupported-version].

BREAKING CHANGE: ansible-core 2.19, 2.20 and 2.21 (and controller Python
3.12) are no longer supported.

Closes #164

Assisted-by: Claude Code
Defame1297 force-pushed docs/164-stale-claims from 3732224e1d to 75d82becbf 2026-11-24 12:52:01 +00:00 Compare
Defame1297 added 1 commit 2026-11-24 13:10:46 +00:00
Merge branch 'main' into docs/164-stale-claims
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 1m41s
Molecule / molecule (pull_request) Successful in 16m30s
c7ab023dca
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-24 13:22:11 +00:00
Defame1297 approved these changes 2026-11-24 13:22:15 +00:00
Dismissed
Defame1297 approved these changes 2026-11-24 13:22:17 +00:00
Defame1297 merged commit 2e5f3ad8ca into main 2026-11-24 13:29:25 +00:00
Defame1297 deleted branch docs/164-stale-claims 2026-11-24 13:29:25 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#281