fix(tailscale): stop leaking the preauth key in failure output #8

Merged
jfraeys merged 1 commit from fix/tailscale-authkey-no-log into main 2026-10-02 19:01:15 -04:00
Owner

The tailscale up command line carries --authkey and Ansible printed it in full when the join failed (e.g. 'authkey expired'), leaking a preauth key into the provisioner journal. The task is now no_log, with a separate task that fails with stderr only (which never contains the key). Note added to roles/tailscale/CLAUDE.md.

Not run against a real host.

🤖 Generated with Claude Code

The tailscale up command line carries --authkey and Ansible printed it in full when the join failed (e.g. 'authkey expired'), leaking a preauth key into the provisioner journal. The task is now no_log, with a separate task that fails with stderr only (which never contains the key). Note added to roles/tailscale/CLAUDE.md. Not run against a real host. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The tailscale up command line carries --authkey; Ansible printed it in full when
the join failed (e.g. 'authkey expired'). no_log the task and fail separately
with stderr, which never contains the key.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!8
No description provided.