Ansible Pytest Migrate

Migrate off, remove, deprecate, or audit the pytest-ansible plugin in an Ansible collection repository. Identifies real plugin use before editing dependencies or test commands, so ordinary Ansible variables and module mocks are never mistaken for plugin use. Use when user says "remove pytest-ansible", "migrate off pytest-ansible", "drop the pytest-ansible plugin", or "audit pytest-ansible usage". Plain pytest and ansible-test are retained; only the pytest-ansible plugin is removed. Do NOT use for general Ansible migrations such as FQCN conversion or inventory restructuring, and do NOT use for

49 stars 9 forksTesting & QA Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add leogallego/ai-skills-ansible

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add leogallego/ai-skills-ansible --skill ansible-pytest-migrate
Manual install
git clone --depth 1 https://github.com/leogallego/ai-skills-ansible.git /tmp/ai-skills-ansible
mkdir -p ~/.claude/skills
cp -r /tmp/ai-skills-ansible/ansible-pytest-migrate/skills/ansible-pytest-migrate ~/.claude/skills/ansible-pytest-migrate

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Migrate off the pytest-ansible plugin

Use this workflow to migrate an Ansible collection off the `pytest-ansible` plugin — replacing real plugin use and removing the dependency — without mistaking ordinary Ansible variables or module mocks for plugin use.

This removes the `pytest-ansible` plugin only. You keep testing with pytest and `ansible-test`; the goal is to stop depending on this one plugin, not to stop running pytest against Ansible content.

## Establish Usage

1. Search dependency files and test configuration for the package and plugin name. The lookahead excludes the unrelated `pytest-ansible-units` package:

   ```bash
   rg -n -iP 'pytest[-_]ansible(?!-units)\b' test-requirements.txt requirements*.txt tox.ini pyproject.toml setup.cfg noxfile.py Pipfile .github tests
   ```

2. Search test code for the plugin-only fixtures and options:

   ```bash
   rg -n 'ansible_adhoc|ansible_module|ansible_facts|ansible_host\b|ansible_group\b|molecule_scenario|--ansible-' tests tox.ini .github pyproject.toml
   ```

3. Classify every hit before changing anything:

   - Plugin use: `pytest-ansible` dependency, `pytest_ansible` import, plugin-specific fixture request, or `--ansible-*` pytest option.
Read the full skill on GitHub

Details

Skill name
ansible-pytest-migrate
Path
ansible-pytest-migrate/skills/ansible-pytest-migrate/SKILL.md
License
GPL-3.0
Repo updated
9 November 2026

FAQ

What does the Ansible Pytest Migrate skill do?

Migrate off, remove, deprecate, or audit the pytest-ansible plugin in an Ansible collection repository. Identifies real plugin use before editing dependencies or test commands, so ordinary Ansible variables and module mocks are never mistaken for plugin use. Use when user says "remove pytest-ansible", "migrate off pytest-ansible", "drop the pytest-ansible plugin", or "audit pytest-ansible usage". Plain pytest and ansible-test are retained; only the pytest-ansible plugin is removed. Do NOT use for general Ansible migrations such as FQCN conversion or inventory restructuring, and do NOT use for

How do I install the Ansible Pytest Migrate skill?

Claude Code plugin: /plugin marketplace add leogallego/ai-skills-ansible. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Ansible Pytest Migrate popular?

It lives in leogallego/ai-skills-ansible, which has 49 GitHub stars and 9 forks.

Related skills

Ansible Docs

49

leogallego/ai-skills-ansible

Answer Ansible questions and review Ansible code using official documentation from the Ansible ecosystem. Covers ansible-core, ansible-lint, ansible-navigator, ansible-builder, ansible-creator, and molecule. Use when the user asks about Ansible concepts, syntax, best practices, deprecations, or wants Ansible code reviewed against official docs. Use when user says "check my playbook against docs", "what does Ansible say about X", "how do I use module Y", or "review my role". Do NOT use for CoP good practices review (use ansible-good-practices instead). Do NOT use for general Python or YAML ques

DevOps & Cloud

Ansible Good Practices

49

leogallego/ai-skills-ansible

Review Ansible code against Red Hat CoP automation good practices. Use when the user wants to audit, lint, review, check, or validate Ansible roles, playbooks, collections, or inventory for compliance with CoP rules. Optionally validates module parameters via ansible-know MCP. Use when user says "lint my role", "check my playbook", "review best practices", or "audit my Ansible code". Do NOT use for general Python or YAML linting unrelated to Ansible. Do NOT use for answering Ansible module usage questions or checking syntax against official Ansible documentation (use ansible-docs instead).

DevOps & Cloud

Ansible New Collection

49

leogallego/ai-skills-ansible

Create a new Ansible content collection following all Red Hat CoP good practices. Optionally uses ansible-know MCP tools to discover existing collections on Galaxy and inspect reference collections before scaffolding. Use when the user wants to create, generate, or bootstrap a new Ansible collection. Use when user says "create a collection", "new collection", "scaffold collection", or "init collection". Leverages ansible-creator when available. Do NOT use for reviewing existing collections (use ansible-good-practices instead).

DevOps & Cloud

Bestow Curse

113

Hmbown/Wizards-of-the-Ghosts

Bestow Curse saddles a target with a lasting disadvantage. The real-world version is constraint injection: deliberately adding friction, limitations, or handicaps to see how a system, process, or team adapts. This is the skill of resilience testing through artificial adversity — bandwidth throttling, feature removal, resource reduction.

Testing & QA11

Test Case Xmind

43

xiaoce-xiaoce/testing-skills-xiaoce

根据产品需求文档、前端技术文档、后端技术文档、交互稿、接口说明、截图和相关项目资料生成结构化软件测试用例;校验用例格式;按“用例标题/前置条件/步骤/预期结果”模板导出 .xmind 脑图文件。适用于生成 QA 测试用例、验收用例、功能用例、回归用例、边界用例,或根据一个或多个输入文档生成 XMind 测试用例脑图。

Testing & QA

Deception

113

Hmbown/Wizards-of-the-Ghosts

Use this skill to generate believable synthetic artifacts for testing, demos, adversarial exercises, or rehearsal environments. The goal is plausibility under inspection by software and operators, not manipulation of real users or fabrication of evidence.

Testing & QA11

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.