Post-Tyranny-Tech-Infrastru.../ansible/roles
Pieter 2a107cbf14 fix: Pass API token as command-line arg to recovery script
The recovery flow automation was failing because the Ansible task
was piping the API token via stdin (echo -e), but the Python script
(create_recovery_flow.py) expects command-line arguments via sys.argv.

Changed from:
  echo -e "$TOKEN\n$DOMAIN" | docker exec -i python3 script.py

To:
  docker exec python3 script.py "$TOKEN" "$DOMAIN"

This matches how the Python script is designed (line 365-370).

Tested on valk deployment - recovery flow now creates successfully
with all features:
- Password complexity policy
- Email verification
- "Forgot password?" link on login page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-20 18:13:10 +01:00
..
authentik fix: Pass API token as command-line arg to recovery script 2026-01-20 18:13:10 +01:00
common WIP: Ansible base configuration - common role (#2) 2025-12-27 14:00:22 +01:00
docker Complete Ansible base configuration (#2) 2025-12-27 14:13:15 +01:00
mailgun/tasks fix: Resolve Authentik email delivery issues 2026-01-13 09:52:23 +01:00
nextcloud 🔧 fix: Optimize Collabora Online performance for 2-core servers 2026-01-18 18:04:19 +01:00
traefik feat: Complete Authentik SSO integration with automated OIDC setup 2026-01-08 16:56:19 +01:00