test: check refusals once on the controller in verify
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
This commit is contained in:
1 parent
6e3ea4521b
commit
2e70980b44
11 files changed
+648
-582
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---
|
||||
trivial:
|
||||
- >-
|
||||
docker, sshd, system_baseline, systemd_hardening - The Molecule scenarios check the refusals and the
|
||||
accepted inputs once, on the controller, in verify instead of in every converge run; the README Tests
|
||||
sections say so.
|
||||
Reference in new issue
Block a user