test(molecule): move refusal plays from converge to verify
molecule's idempotence step reruns converge.yml, so plays that only prove a role refuses bad input ran twice and added nothing the second time. The ufw, sshd, gitea and traefik scenarios now keep only the plays that apply the role in converge.yml; the refusal plays and gitea's child ansible-playbook guard checks run once, first in verify.yml. Every existing assertion runs after them, so verify still proves a refused run left the host unchanged. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
00c6cbeba4
commit
fdb3f8c1df
11 files changed
+657
-630
No files matched your search
@@ -1,5 +1,5 @@
|
||||
---
|
||||
# Run by converge.yml in a child ansible-playbook process, because the mint guard
|
||||
# Run by verify.yml in a child ansible-playbook process, because the mint guard
|
||||
# reads the controller's environment (lookup env), which a play cannot change; the
|
||||
# child gets its environment from the task that starts it, so the result does not
|
||||
# depend on what the runner exports. With the CI variable set it fails at the CI
|
||||
|
||||
Reference in new issue
Block a user