Wire proxmox_ssh_automation_key into the container (sysadmin) connection too #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/sysadmin-automation-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 6's connection setup for Play 3 already read proxmox_ssh_private_key_file to set ansible_ssh_private_key_file on the created container, but nothing ever set that var -- Play 3 fell back to ambient SSH identity, the same class of gap already fixed for the Proxmox-host connection (PR #5), just one layer further out.
proxmox_ssh_private_key_file now points at the same key file already written for the Proxmox-host connection. New proxmox_ssh_automation_key_pub is pushed into every newly-created container's sysadmin authorized_keys alongside proxmox_ssh_sysadmin_key (not replaced).
Verified live: confirmed the automation key authenticates to an existing container with SSH agent fallback disabled.
🤖 Generated with Claude Code
https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp