You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix critical algo_no_log variable consistency across all roles
CRITICAL FIX: Undefined variable errors in multiple roles
- Add default(true) filter to all algo_no_log references
- Affected files:
- roles/wireguard/tasks/keys.yml:27,68,103
- roles/strongswan/tasks/client_configs.yml:26
- roles/ssh_tunneling/tasks/main.yml:69,81
PROBLEM: When roles are used independently or algo_no_log is undefined,
tasks would fail with "undefined variable" errors, breaking deployments.
SOLUTION: Use {{ algo_no_log | default(true) | bool }} pattern throughout
- Provides safe fallback to secure-by-default behavior (logging disabled)
- Maintains compatibility when algo_no_log is defined in config.cfg
- Prevents deployment failures from undefined variables
IMPACT: Ensures consistent and reliable log hiding behavior across all
VPN roles, preventing critical deployment failures.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments