Files
Kamino/roles/ufw/molecule
Defame1297 0779e8b5c7
Build / build (pull_request) Successful in 37s
Lint / lint (pull_request) Successful in 2m46s
Molecule / molecule (pull_request) Successful in 18m9s
test(ufw): cover the service_rules cases with fewer owners
The scenario called service_rules once per owner, eight times, about 30 tasks each, on every
check, converge and idempotence pass. Three owners keep every case.

- svc_a (no purge): the old svc_a (8001, 8002 with from), svc_b (8003, the 8004 deny with no
  comment or proto), svc_g (8022 with a comment mentioning 22), svc_e (7201 and the stale
  7003 kept because purging is off).
- svc_c (purge): the old svc_c (7101, stale 7001 deleted), svc_h (7301, the stale SSH
  lookalike kept), svc_p (7602, stale 7601 deleted, no-port, source-only and range rules
  kept). svc_a's stale 7003 surviving svc_c's purge proves owner isolation.
- svc_d (absent): unchanged.

The tagged total stays at 20 (svc_a 7, svc_c 7, svc_m 1, svc_o2 1, svc_o3 4) and the untagged
at 5. Converge keeps two orphan checks, one after the three cases without a purge and one after
the purge; the check after the invalid managed owner in verify goes, as the Verify play asserts
the same state. Converge gathers no facts: the role reads none.

Closes #457

Assisted-by: Claude Code
2026-11-28 21:52:36 +00:00
..