test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly those #133
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Kamino#133
Reference in new issue
Block a user
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
nobleandresolute. Proxmox targets declaretrixie.What
For every Ubuntu-targeting role under
roles/(every role exceptnetwork_interfaces;sshd,user_management,traefikand_binary_updateincluded):molecule/default/molecule.ymlgets one platform on${MOLECULE_IMAGE}(24.04) and one on${MOLECULE_IMAGE_2604}(26.04).meta/main.ymlgalaxy_info.platformslists exactly Ubuntunobleandresolute. Removeallandjammy.traefikand_binary_updatedeclarenobleonly today and gainresolute.trixie.sshd,system_baseline,systemd_hardeninganduser_managementkeep 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 oftrixieand no fragment for it. Those roles keep theirpveprofile and Debian code.roles/system_baseline/tasks/tmux.yml: a consumer calls it (#186).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_interfacesis left alone entirely: its scenario, its metadata, its narrowing fromalltotrixieand thebreaking_changesfragment for that narrowing belong to #226.Changelog fragments
breaking_changesfragment, tested or not:jammy(sshd, system_baseline, systemd_hardening, ufw, user_management) and Ubuntuall(docker).resolute(including totraefikand_binary_update) isminor_changes.breaking_changesfragment fails Lint.Acceptance
ansible-lintpasses. Itsschema[meta]acceptsresolute(verified on 26.10.1).Notes
A role that cannot pass on 26.04 yet keeps
nobleonly 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.Review of the map (2026-11-15): corrections to this issue.
roles/(includingufwif it has merged)":ufwshipped in 1.4.0, and thesshdrole has merged since this issue was filed.roles/now holds seven roles.roles/sshd/meta/main.ymldeclares Ubuntujammyandnobleand Debiantrixie, so it needs the same work as the others. Change: "every role underroles/(seven today,sshdincluded)".Waiting on another decision: what a platform declaration means, and whether
jammyand Debian are dropped (the "Dropall,jammyand 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.Correction from What a role's platform declaration means, and supported entry points (resolution comment). This supersedes "Drop Debian" in the body:
nobleandresolute. That is every role exceptnetwork_interfaces, and it includessshd, which this issue predates.sshd,system_baselineandsystemd_hardeningkeep theirpveprofile and Debian code. This issue declares only noble and resolute for them. Debiantrixieis added, with its own image and scenarios, in feat(images): add a Debian 13 molecule image and test the Proxmox targets on it.network_interfacesis not Ubuntu-targeting. Leave its scenario and metadata alone here; #226 handles it.roles/system_baseline/tasks/tmux.yml: a consumer calls it (#186).Review of the map (2026-11-17).
roles/holds eight roles.user_managementis included here: it gets the 26.04 platform, dropsjammy, and its trixie declaration is handled by the Debian image issue.jammy, Ubuntualland Debianallremoves 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.
Scope change from Role interface and semver: output facts, handler names, dropped platforms and internal roles (2026-11-20)
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.breaking_changesfragment, tested or not:jammy(sshd, system_baseline, systemd_hardening, ufw, user_management), Ubuntuall(docker), Debianallnarrowed totrixie(network_interfaces). Addingresolute(and adding it totraefikand_binary_update, which declarenobleonly) isminor_changes.breaking_changesfragment fails Lint.test(roles): run every role scenario on 24.04 and 26.04 and declare exactly those platformsto test(roles): run every Ubuntu-targeting role on 24.04 and 26.04 and declare exactly thoseBody 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.
network_interfacesalone entirely; its narrowing fromalltotrixieand thebreaking_changesfragment belong to #226.Final validation round, second pass (2026-11-20): body edited.
docs/images/molecule-ubuntu2604.md:6once it is true" now reads "Correct the 26.04 molecule image doc (indocs/images/today; next to the image once #169 has landed) once it is true", because #169 moves the image docs. Title unchanged.