一键导入
bootstrap-host
Bootstrap yggdrasil from scratch with Debian 12, Docker, and Ansible
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bootstrap yggdrasil from scratch with Debian 12, Docker, and Ansible
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | bootstrap-host |
| description | Bootstrap yggdrasil from scratch with Debian 12, Docker, and Ansible |
| license | MIT |
| metadata | {"audience":"operators","workflow":"host-setup"} |
I guide you through the complete bootstrap process for a fresh yggdrasil host, from initial Debian 12 setup through running Docker services:
make bootstrap to set up your local Ansible environmentmake ansible-bootstrap to configure yggdrasil (hardening, firewall, Docker)Use this when you:
uv is installed (or install it)make bootstrap to install Ansible and dependenciesmake ansible-bootstrap (will prompt for sudo password)make ansible-inventorymake ansible-deploy-service SERVICE=reverse-proxy (requires TLS certs)make ansible-deploy-service SERVICE=ntfy (notification infrastructure)make ansible-deploy-service SERVICE=diun (image update monitor)make ansible-deploy-services (or individually as needed)docker ps on yggdrasil shows running containersuv installed (or I'll help install it)SSH Configuration
bootstrap/ansible/inventory/asgard/group_vars/all.ymlTLS Certificates
services/reverse-proxy/secrets/Firewall
Host Identity
yggdrasil (set in inventory)bootstrap/ansible/inventory/asgard/ — host configurationbootstrap/ansible/playbooks/bootstrap.ymlNew production host
Ask me to bootstrap a fresh yggdrasil server
I'll guide you through the complete setup with best practices
Recovery scenario
My yggdrasil host is broken, help me rebuild it
I'll walk you through restoring from configuration
Dry run / learning
Show me what bootstrap does without actually running it
I'll explain each step and what it configures
"Cannot connect to host via SSH"
bootstrap/ansible/inventory/asgard/group_vars/all.yml"Sudo password prompt"
make ansible-bootstrap requires sudo for host configuration"Docker installation failed"
"Caddy fails to start"
services/reverse-proxy/secrets/ for certificate filesdocker logs reverse-proxy"Services won't start"
.env files are created from .env.exampleAfter bootstrap completes: Review docs/operations-guide.md for day-to-day operations and monitoring procedures.
Onboard a new Docker service to Yggdrasil with complete setup and validation
Deploy or redeploy a service to yggdrasil with validation and SOPS decryption
Encrypt, decrypt, and rotate service secrets using SOPS and age