test(roles): run the Ubuntu roles on 24.04 and 26.04 and declare exactly those #381
2 Participants
Notifications
Due Date
No due date set.
Depends on
Reference: Mortis/Kamino#381
Reference in new issue
Block a user
What and why
Closes #133
Blocked by #376. On the
molecule-ubuntu2604image everybecometask fails withsudo: account validation failure(run 5611; every*-2604-instance, 24.04 instances pass). That is an image problem, not a role problem. Once #376's image is pinned, this branch is rebased on it and re-run, and docker and gitea gainresolutehere too.A declared platform is one the role passes Molecule on in CI (#207, #257). Every role except
network_interfacesnow:${MOLECULE_IMAGE}(24.04) and${MOLECULE_IMAGE_2604}(26.04), including_binary_update/molecule/check_mode;nobleandresolute:jammyis dropped (sshd, system_baseline, systemd_hardening, ufw, user_management);trixiestays declared in sshd, system_baseline, systemd_hardening and user_management until #226 tests it.network_interfacesandsystem_baseline/tasks/tmux.ymlare untouched.Exceptions until #376 lands:
noble(docker narrowed fromall): their scenarios also needgnupg, which #376 adds to the 26.04 image. This is recorded inroles/AGENTS.md.Other changes:
nobleonly) gainsresolute.verify.ymlaccepts both namessshd -Tprints for prohibit-password:without-passwordon OpenSSH 9 andprohibit-passwordon OpenSSH 10. This was the one real 26.04 difference run 5611 showed.Fragments:
breaking_changes:jammydropped in five roles; docker'sallnarrowed tonoble.minor_changes:resoluteadded to ten roles, pihole included._binary_updateis internal and outside semver, so it is not named.Release note for the maintainer: these
breaking_changesmake the next release built from the fragments 3.0.0.Verified
pre-commit run --all-fileswith the dev environment fromscripts/dev-setup.sh. All hooks pass, including ansible-lint (schema[meta]acceptsresolute), yamllint, antsibull-changelog lint and REUSE.ansible-test sanity(pre-push hook) passed on each push.become(#376); sshd's 26.04 instance also failed the prohibit-password assertion, which is fixed here.Not verified
become: it can't run until #376 is fixed. Remaining risks:visudo -c/sudo -lassertions under sudo-rs;telnet, and its defaults include the transitionalapt-transport-https;dnsutilsandlighttpd-mod-deflatein the resolute archive.nobleonly here, with its own issue, per #133's Notes.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.