ci(images): stop baking ufw and fail2ban into the molecule images #485

Merged
Defame1297 merged 3 commits from images/435-stop-baking-ufw-fail2ban into main 2026-11-29 19:11:45 +00:00
3 Commits
Author SHA1 Message Date
Defame1297 f1598486f0 test(molecule): stop saying the image ships ufw and fail2ban
Build / build (pull_request) Successful in 34s
Lint / lint (pull_request) Successful in 3m38s
Molecule / molecule (pull_request) Successful in 14m55s
Assisted-by: Claude Code
2026-11-29 18:53:24 +00:00
Defame1297 c64b4b932b ci(images): stop baking ufw and fail2ban into the molecule images
ADR 0002 keeps a package a role installs out of the molecule images, so its scenario exercises
the install. The ufw and fail2ban roles install their packages, so both images drop them; iptables,
openssh-server, python3-systemd and gnupg stay as fixtures. The labels, header comments, image
docs and image-smoke package lists no longer claim the packages are baked or that a converge
makes no network calls.

Refs: #435
Assisted-by: Claude Code
2026-11-29 18:53:24 +00:00
Defame1297 6e9709f0da test(molecule): refresh the APT cache where a scenario installs ufw or fail2ban
The molecule images keep no APT lists, and the ufw and fail2ban scenarios, and the gitea
scenario's remove path, relied on those packages being baked in. Their prepare now refreshes the
cache, so they keep working once the images stop shipping the packages.

Refs: #435
Assisted-by: Claude Code
2026-11-29 18:53:24 +00:00