ansible-testinfra

Community

Bootstrap a minimal Testinfra tests for Ansible.

Authorjphetphoumy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill bootstraps a minimal Testinfra-based test suite for an Ansible role, providing a ready-to-run starting point for infrastructure validation.

Core Features & Use Cases

  • Project bootstrap: Creates tests/ and pyproject.toml with Pytest/Testinfra dependencies.
  • Starter tests: Provides a basic test_<role>.py that checks package, service, and port.
  • Guided run: Reminds you to run tests with uv run pytest after setup.

Quick Start

  1. Create your role and place tests under tests/<role>.
  2. Run: uv run pytest --hosts ssh://<host>
  3. Extend tests as needed.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ansible-testinfra
Download link: https://github.com/jphetphoumy/skillstack/archive/main.zip#ansible-testinfra

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository