pez-infra/ansible/roles/common
Rasmus Wejlgaard 339c08c5c2 Configure UFW firewall rules in common Ansible role
Add UFW configuration to the common role for Debian hosts:
- Default deny incoming, allow outgoing
- Allow all traffic on tailscale0 interface (mesh comms)
- Allow SSH port 22 as safety net
- Per-host allowed ports via ufw_allowed_ports variable
- Enable UFW after rules are applied

helsinki-a gets ports 80/443 for reverse proxy traffic.
Other Debian hosts only need Tailscale + SSH.

Closes PESO-79
2026-03-29 09:07:42 +00:00
..
defaults Configure UFW firewall rules in common Ansible role 2026-03-29 09:07:42 +00:00
handlers Configure UFW firewall rules in common Ansible role 2026-03-29 09:07:42 +00:00
tasks Configure UFW firewall rules in common Ansible role 2026-03-29 09:07:42 +00:00