test: check refusals once on the controller in verify #442

Merged
Defame1297 merged 2 commits from test/refusals-in-verify into main 2026-11-27 16:32:26 +00:00
2 Commits
Author SHA1 Message Date
Defame1297 87738f65fd Merge branch 'main' into test/refusals-in-verify
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 3m20s
Molecule / molecule (pull_request) Successful in 22m24s
2026-11-27 16:09:20 +00:00
Defame1297 2e70980b44 test: check refusals once on the controller in verify
Build / build (pull_request) Successful in 1m10s
Lint / lint (pull_request) Successful in 2m54s
Molecule / molecule (pull_request) Successful in 18m44s
converge.yml is replayed by check, converge, check and idempotence on
both platforms, so the validation-only plays in it ran eight times per
scenario. They need no container: move them to the top of verify.yml,
on localhost in check mode, so they run once and a regressed refusal
cannot change the controller.

Applies to the default scenarios of system_baseline, docker, sshd and
systemd_hardening. The systemd_hardening refusal of a drop-in entry
that is not a mapping comes after the disable and mask tasks, so it
moves to verify.yml but stays on the container. The README Tests
sections say where each check now runs.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 15:05:34 +00:00