test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly those #133

Open
opened 2026-11-14 21:50:49 +00:00 by Claude · 6 comments
Owner

Spec: Role standard, resolution comment, "Platforms"; What a role's platform declaration means, and supported entry points, resolution comment; Role interface and semver: output facts, handler names, dropped platforms and internal roles, resolution comment.

Rule

A declared platform is one the role passes Molecule on in CI. Platforms follow the hosts a role targets. Ubuntu-targeting roles declare exactly noble and resolute. Proxmox targets declare trixie.

What

For every Ubuntu-targeting role under roles/ (every role except network_interfaces; sshd, user_management, traefik and _binary_update included):

  • Each molecule/default/molecule.yml gets one platform on ${MOLECULE_IMAGE} (24.04) and one on ${MOLECULE_IMAGE_2604} (26.04).
  • Platform names added here carry the per-run prefix of ci(molecule): isolate Molecule runs per run and stop running Molecule on push to main if that issue has landed.
  • meta/main.yml galaxy_info.platforms lists exactly Ubuntu noble and resolute. Remove all and jammy. traefik and _binary_update declare noble only today and gain resolute.
  • Do not remove trixie. sshd, system_baseline, systemd_hardening and user_management keep it declared; the Debian 13 image issue (feat(images): add a Debian 13 molecule image and test the Proxmox targets on it) makes the declaration true. There is no interim removal of trixie and no fragment for it. Those roles keep their pve profile and Debian code.
  • On the Ubuntu images, converge only the Ubuntu profiles.
  • The README's "Supported platforms" says the same and no longer says other releases are unverified. A README says in one line why a role covers fewer than all three releases.
  • Do not rename roles/system_baseline/tasks/tmux.yml: a consumer calls it (#186).
  • Correct the 26.04 molecule image doc (in docs/images/ today; next to the image once refactor(images): image docs next to the images, check_image_versions.py pins only has landed) once it is true.

network_interfaces is left alone entirely: its scenario, its metadata, its narrowing from all to trixie and the breaking_changes fragment for that narrowing belong to #226.

Changelog fragments

  • Every removed or narrowed platform takes a breaking_changes fragment, tested or not: jammy (sshd, system_baseline, systemd_hardening, ufw, user_management) and Ubuntu all (docker).
  • Adding resolute (including to traefik and _binary_update) is minor_changes.
  • These removals ship in the same major as the ansible-core floor raise (2.0.0). Nothing to do in this pull request beyond the fragment: the maintainer holds the release pull request until both have landed.
  • Once the fragment-presence check is extended (#183), a removed platform without a breaking_changes fragment fails Lint.

Acceptance

  • Molecule passes for every role on both platforms.
  • ansible-lint passes. Its schema[meta] accepts resolute (verified on 26.10.1).

Notes

A role that cannot pass on 26.04 yet keeps noble only and gets its own issue. It does not block the others. No role behaviour changes beyond what 26.04 requires; anything more goes to a separate issue.

Spec: [Role standard](https://git.rkdr.net/Mortis/Kamino/issues/93), resolution comment, "Platforms"; [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207), resolution comment; [Role interface and semver: output facts, handler names, dropped platforms and internal roles](https://git.rkdr.net/Mortis/Kamino/issues/257), resolution comment. ## Rule A declared platform is one the role passes Molecule on in CI. Platforms follow the hosts a role targets. Ubuntu-targeting roles declare exactly `noble` and `resolute`. Proxmox targets declare `trixie`. ## What For every Ubuntu-targeting role under `roles/` (every role except `network_interfaces`; `sshd`, `user_management`, `traefik` and `_binary_update` included): - Each `molecule/default/molecule.yml` gets one platform on `${MOLECULE_IMAGE}` (24.04) and one on `${MOLECULE_IMAGE_2604}` (26.04). - Platform names added here carry the per-run prefix of [ci(molecule): isolate Molecule runs per run and stop running Molecule on push to main](https://git.rkdr.net/Mortis/Kamino/issues/166) if that issue has landed. - `meta/main.yml` `galaxy_info.platforms` lists exactly Ubuntu `noble` and `resolute`. Remove `all` and `jammy`. `traefik` and `_binary_update` declare `noble` only today and gain `resolute`. - Do not remove `trixie`. `sshd`, `system_baseline`, `systemd_hardening` and `user_management` keep it declared; the Debian 13 image issue ([feat(images): add a Debian 13 molecule image and test the Proxmox targets on it](https://git.rkdr.net/Mortis/Kamino/issues/226)) makes the declaration true. There is no interim removal of `trixie` and no fragment for it. Those roles keep their `pve` profile and Debian code. - On the Ubuntu images, converge only the Ubuntu profiles. - The README's "Supported platforms" says the same and no longer says other releases are unverified. A README says in one line why a role covers fewer than all three releases. - Do not rename `roles/system_baseline/tasks/tmux.yml`: a consumer calls it ([#186](https://git.rkdr.net/Mortis/Kamino/issues/186)). - Correct the 26.04 molecule image doc (in `docs/images/` today; next to the image once [refactor(images): image docs next to the images, check_image_versions.py pins only](https://git.rkdr.net/Mortis/Kamino/issues/169) has landed) once it is true. `network_interfaces` is left alone entirely: its scenario, its metadata, its narrowing from `all` to `trixie` and the `breaking_changes` fragment for that narrowing belong to #226. ## Changelog fragments - Every removed or narrowed platform takes a `breaking_changes` fragment, tested or not: `jammy` (sshd, system_baseline, systemd_hardening, ufw, user_management) and Ubuntu `all` (docker). - Adding `resolute` (including to `traefik` and `_binary_update`) is `minor_changes`. - These removals ship in the same major as the ansible-core floor raise (2.0.0). Nothing to do in this pull request beyond the fragment: the maintainer holds the release pull request until both have landed. - Once the fragment-presence check is extended ([#183](https://git.rkdr.net/Mortis/Kamino/issues/183)), a removed platform without a `breaking_changes` fragment fails Lint. ## Acceptance - Molecule passes for every role on both platforms. - `ansible-lint` passes. Its `schema[meta]` accepts `resolute` (verified on 26.10.1). ## Notes A role that cannot pass on 26.04 yet keeps `noble` only and gets its own issue. It does not block the others. No role behaviour changes beyond what 26.04 requires; anything more goes to a separate issue.
Claude added the
Status
Ready for Agent
label 2026-11-14 21:50:49 +00:00
Claude added a new dependency 2026-11-15 22:20:53 +00:00
Claude added this to the Continuous delivery milestone 2026-11-15 22:21:20 +00:00
Author
Owner

Review of the map (2026-11-15): corrections to this issue.

  • The role list is out of date. "For every role under roles/ (including ufw if it has merged)": ufw shipped in 1.4.0, and the sshd role has merged since this issue was filed. roles/ now holds seven roles. roles/sshd/meta/main.yml declares Ubuntu jammy and noble and Debian trixie, so it needs the same work as the others. Change: "every role under roles/ (seven today, sshd included)".

Waiting on another decision: what a platform declaration means, and whether jammy and Debian are dropped (the "Drop all, jammy and Debian" step and the README "Supported platforms" wording), wait on What a role's platform declaration means, and supported entry points. Adding the 26.04 platform to each scenario does not.

Review of the map (2026-11-15): corrections to this issue. - **The role list is out of date.** "For every role under `roles/` (including `ufw` if it has merged)": `ufw` shipped in 1.4.0, and the `sshd` role has merged since this issue was filed. `roles/` now holds seven roles. `roles/sshd/meta/main.yml` declares Ubuntu `jammy` and `noble` and Debian `trixie`, so it needs the same work as the others. Change: "every role under `roles/` (seven today, `sshd` included)". Waiting on another decision: what a platform declaration means, and whether `jammy` and Debian are dropped (the "Drop `all`, `jammy` and Debian" step and the README "Supported platforms" wording), wait on [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207). Adding the 26.04 platform to each scenario does not.
Author
Owner

Correction from What a role's platform declaration means, and supported entry points (resolution comment). This supersedes "Drop Debian" in the body:

  • A declaration means "passes Molecule in CI". Platforms follow the hosts a role targets.
  • Ubuntu-targeting roles declare exactly noble and resolute. That is every role except network_interfaces, and it includes sshd, which this issue predates.
  • Do not drop Debian. sshd, system_baseline and systemd_hardening keep their pve profile and Debian code. This issue declares only noble and resolute for them. Debian trixie is added, with its own image and scenarios, in feat(images): add a Debian 13 molecule image and test the Proxmox targets on it.
  • network_interfaces is not Ubuntu-targeting. Leave its scenario and metadata alone here; #226 handles it.
  • On the Ubuntu images, converge only the Ubuntu profiles.
  • A README says in one line why a role covers fewer than all three releases (aspirational rule).
  • Do not rename roles/system_baseline/tasks/tmux.yml: a consumer calls it (#186).
Correction from [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207) (resolution comment). This supersedes "Drop Debian" in the body: - A declaration means "passes Molecule in CI". Platforms follow the hosts a role targets. - Ubuntu-targeting roles declare exactly `noble` and `resolute`. That is every role except `network_interfaces`, and it includes `sshd`, which this issue predates. - **Do not drop Debian.** `sshd`, `system_baseline` and `systemd_hardening` keep their `pve` profile and Debian code. This issue declares only noble and resolute for them. Debian `trixie` is added, with its own image and scenarios, in [feat(images): add a Debian 13 molecule image and test the Proxmox targets on it](https://git.rkdr.net/Mortis/Kamino/issues/226). - `network_interfaces` is not Ubuntu-targeting. Leave its scenario and metadata alone here; #226 handles it. - On the Ubuntu images, converge only the Ubuntu profiles. - A README says in one line why a role covers fewer than all three releases (aspirational rule). - Do not rename `roles/system_baseline/tasks/tmux.yml`: a consumer calls it (#186).
Author
Owner

Review of the map (2026-11-17).

  • roles/ holds eight roles. user_management is included here: it gets the 26.04 platform, drops jammy, and its trixie declaration is handled by the Debian image issue.
  • Dropping jammy, Ubuntu all and Debian all removes declared platforms. The README issue lists dropping a release under Major, and the release version comes from the fragment section, but no decision says which section these removals take. Open in Role interface and semver: output facts, handler names, dropped platforms and internal roles, question 3.

Changed: this issue is now blocked by that ticket.

Proposed, not done: title "test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly those". The current title reads as if every role declares exactly the two Ubuntu releases, which the platform decision replaced.

Review of the map (2026-11-17). - `roles/` holds eight roles. `user_management` is included here: it gets the 26.04 platform, drops `jammy`, and its trixie declaration is handled by the Debian image issue. - Dropping `jammy`, Ubuntu `all` and Debian `all` removes declared platforms. The README issue lists dropping a release under Major, and the release version comes from the fragment section, but no decision says which section these removals take. Open in [Role interface and semver: output facts, handler names, dropped platforms and internal roles](https://git.rkdr.net/Mortis/Kamino/issues/257), question 3. Changed: this issue is now blocked by that ticket. Proposed, not done: title "test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly those". The current title reads as if every role declares exactly the two Ubuntu releases, which the platform decision replaced.
Author
Owner

Scope change from Role interface and semver: output facts, handler names, dropped platforms and internal roles (2026-11-20)

  • Do not remove trixie. Leave it declared in the four roles that have it; the Debian 13 image issue (#226) makes the declaration true. No interim removal, no fragment for it.
  • Every other removed or narrowed platform takes a breaking_changes fragment, tested or not: jammy (sshd, system_baseline, systemd_hardening, ufw, user_management), Ubuntu all (docker), Debian all narrowed to trixie (network_interfaces). Adding resolute (and adding it to traefik and _binary_update, which declare noble only) is minor_changes.
  • These removals ship in the same major as the ansible-core floor raise (2.0.0). Nothing to do in this PR beyond the fragment: the maintainer holds the release pull request until both have landed.
  • Once the fragment-presence check is extended (#183), a removed platform without a breaking_changes fragment fails Lint.
## Scope change from [Role interface and semver: output facts, handler names, dropped platforms and internal roles](https://git.rkdr.net/Mortis/Kamino/issues/257) (2026-11-20) - **Do not remove `trixie`.** Leave it declared in the four roles that have it; the Debian 13 image issue (#226) makes the declaration true. No interim removal, no fragment for it. - **Every other removed or narrowed platform takes a `breaking_changes` fragment**, tested or not: `jammy` (sshd, system_baseline, systemd_hardening, ufw, user_management), Ubuntu `all` (docker), Debian `all` narrowed to `trixie` (network_interfaces). Adding `resolute` (and adding it to `traefik` and `_binary_update`, which declare `noble` only) is `minor_changes`. - These removals ship in the same major as the ansible-core floor raise (2.0.0). Nothing to do in this PR beyond the fragment: the maintainer holds the release pull request until both have landed. - Once the fragment-presence check is extended (#183), a removed platform without a `breaking_changes` fragment fails Lint.
Claude changed title from test(roles): run every role scenario on 24.04 and 26.04 and declare exactly those platforms to test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly those 2026-11-20 21:51:35 +00:00
Author
Owner

Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.

  • Decision 6: this issue leaves network_interfaces alone entirely; its narrowing from all to trixie and the breaking_changes fragment belong to #226.
  • Title changed to the one proposed in the comment of 2026-11-17 (Ubuntu-targeting roles).
Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, https://git.rkdr.net/Mortis/Kamino/issues/87#issuecomment-12281). The body is the spec; the earlier comments are history. - Decision 6: this issue leaves `network_interfaces` alone entirely; its narrowing from `all` to `trixie` and the `breaking_changes` fragment belong to #226. - Title changed to the one proposed in the comment of 2026-11-17 (Ubuntu-targeting roles).
Author
Owner

Final validation round, second pass (2026-11-20): body edited.

  • Added: platform names added here carry the per-run prefix of #166 if that issue has landed.
  • "Correct docs/images/molecule-ubuntu2604.md:6 once it is true" now reads "Correct the 26.04 molecule image doc (in docs/images/ today; next to the image once #169 has landed) once it is true", because #169 moves the image docs. Title unchanged.
Final validation round, second pass (2026-11-20): body edited. - Added: platform names added here carry the per-run prefix of #166 if that issue has landed. - "Correct `docs/images/molecule-ubuntu2604.md:6` once it is true" now reads "Correct the 26.04 molecule image doc (in `docs/images/` today; next to the image once #169 has landed) once it is true", because #169 moves the image docs. Title unchanged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#133