Skip to main content

install-system-dependencies

Install the system dependencies required by the deployer (OpenTofu, Ansible, LXD, cargo-machete) using the built-in dependency-installer. This is the setup/installer step before using the deployer for the first time. Triggers on "install dependencies", "install system dependencies", "setup deployer", "first time setup", "missing dependency", "install opentofu", "install ansible", "install lxd", or "deployer setup".

来源信息

仓库
torrust/torrust-tracker-deployer
最近来源活动
2026年4月14日 15:39
检测到的 SKILL.md 语言
英语
星标
4
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
install-system-dependencies
description
Install the system dependencies required by the deployer (OpenTofu, Ansible, LXD, cargo-machete) using the built-in dependency-installer. This is the setup/installer step before using the deployer for the first time. Triggers on "install dependencies", "install system dependencies", "setup deployer", "first time setup", "missing dependency", "install opentofu", "install ansible", "install lxd", or "deployer setup".
metadata
{"author":"torrust","version":"1.0"}
# Install System Dependencies Use the built-in `dependency-installer` package to install all tools required to run the deployer. ## Recommended Setup Workflow ```bash # 1. Check what is already installed cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer check # 2. Install everything missing in one command cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer install # 3. Verify all dependencies are now present cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer check ``` ## Commands ```bash # Install all missing dependencies cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer install # Install a specific dependency cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer install --dependency opentofu # Install with verbose output (shows download/install steps) cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer install --verbose ``` ## Dependencies Installed | Dependency | Purpose | | --------------- | ----------------------------------------- | | `opentofu` | Infrastructure provisioning (`provision`) | | `ansible` | VM configuration (`configure`, `release`) | | `lxd` | Local VM provider (LXD environments) | | `cargo-machete` | Unused dependency detection (linter / CI) | ## Exit Codes - `0` — All dependencies installed successfully - `1` — One or more installations failed - `2` — Invalid arguments - `3` — Internal error ## Notes - The `install` subcommand requires **system package manager access** (may prompt for `sudo`) - Internet access is required to download installers (OpenTofu fetches from `opentofu.org`) - After installation, re-run `check` to confirm everything is ready - In GitHub Copilot agent environments, outbound network access to `opentofu.org` must be allowlisted — see `docs/contributing/copilot-agent/firewall.md`
在 GitHub 查看