ci(tofu): install community.proxmox/docker for post-create ansible
ci/woodpecker/push/deploy-infrastructure Pipeline was successful
ci/woodpecker/manual/deploy-infrastructure Pipeline failed

The proxmox_lxc module's local-exec provisioner runs the install
playbook against the dynamic Proxmox inventory, which needs the
community.proxmox plugin. deploy-infrastructure was the only pipeline
running ansible without installing it. Add community.docker too — most
post-create roles use docker_container.

Surfaced when LXC 250 (registry-mirror) was created cleanly but the
post-create provision failed with "unknown plugin
'community.proxmox.proxmox'".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-26 10:19:26 +02:00
co-authored by Claude Opus 4.7
parent 28bcd60810
commit 73db0bf267
+1
View File
@@ -98,6 +98,7 @@ steps:
from_secret: ssh_private_key
commands:
- apk add --no-cache git openssh-client ansible curl
- ansible-galaxy collection install community.proxmox community.docker
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519