Skip to main content

check-system-dependencies

Check whether the system has all dependencies required by the deployer (OpenTofu, Ansible, LXD, cargo-machete). Use before running provisioning, E2E tests, or any infrastructure command. Triggers on "check dependencies", "check system dependencies", "are dependencies installed", "verify dependencies", "dependency check", or "missing tools".

소스 정보

저장소
torrust/torrust-tracker-deployer
최근 소스 활동
2026년 4월 14일 15:39
감지된 SKILL.md 언어
영어
스타
4
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
check-system-dependencies
description
Check whether the system has all dependencies required by the deployer (OpenTofu, Ansible, LXD, cargo-machete). Use before running provisioning, E2E tests, or any infrastructure command. Triggers on "check dependencies", "check system dependencies", "are dependencies installed", "verify dependencies", "dependency check", or "missing tools".
metadata
{"author":"torrust","version":"1.0"}
# Check System Dependencies Use the built-in `dependency-installer` package to verify all required tools are installed. ## Commands ```bash # Check all dependencies cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer check # Check a specific dependency cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer check --dependency opentofu # List all dependencies with status cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer list # Install all missing dependencies cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer install ``` ## Required Dependencies | 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 checked dependencies are installed - Non-zero — One or more dependencies are missing ## Interpreting Output All output goes to stderr via structured logging. Look for the summary line: ```text INFO ... All dependencies are installed ``` Or a missing dependency error: ```text ERROR ... dependency is not installed dependency="opentofu" ``` ## Notes - Run this before any `provision`, `configure`, `release`, or E2E test command - In CI/CD pipelines use `--log-level off` to suppress output and rely on exit code only: ```bash cargo run -p torrust-tracker-deployer-dependency-installer --bin dependency-installer check --log-level off ``` - To install missing tools automatically, use the `install` subcommand (requires system package manager access)
GitHub에서 보기