Skip to content
Back to skills

Ansible Conventions

ASecurity

Use when creating, reviewing, linting, testing, versioning, or releasing Ansible playbooks, roles, inventories, or collections; apply the documented repository conventions.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentstestinggit

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add dryvist/claude-code-plugins --skill ansible-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ansible Conventions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ansible Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dryvist-ansible-conventions/badge)](https://www.skillsdirectory.com/skills/dryvist-ansible-conventions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ansible-conventions
description: Use when creating, reviewing, linting, testing, versioning, or releasing Ansible playbooks, roles, inventories, or collections; apply the documented repository conventions.
---

# Ansible Repository Conventions

## Start with repository ownership

- Read the repository's `AGENTS.md` and follow its ownership map. Keep changes in the repository that owns the playbook, role, inventory, or collection.
- Follow the documented layout. When present, use `playbooks/` for orchestration,
  `roles/` for reusable configuration, `inventory/` for inventory resolution,
  and `docs/agents/` for repository guidance.
- Keep shared role and collection dependencies in `requirements.yml`. When it
  declares both collections and roles, install both with
  `ansible-galaxy install -r requirements.yml`.

## Lint and test

- Run `ansible-lint` and `ansible-playbook --syntax-check <playbook>` for the affected content.
- Run the repository's documented Molecule scenario with
  `molecule test -s <scenario>`. Follow CI's changed-role selection and run
  the full matrix at the documented promotion boundary.
- Use repository-provided fast and extended test tiers; do not replace a failing check with a weaker command.

## Shared workflows and versions

- Call shared reusable workflows from `JacobPEvans/.github` at `@v1`.
- When a repository consumes `dryvist/homelab-contracts`, use a major-version
  release tag and follow that repository's pinning policy. Do not consume a
  moving branch.
- Keep dependency versions in their documented single source of truth.

## Secrets

- Resolve secrets from OpenBao at runtime. Never commit secret values, plaintext secret files, rendered credentials, or tokens.
- Keep roles independent of the secret injector; read values through the repository's documented runtime interface.

## Do not

- Move a role or playbook across repository ownership boundaries without updating the owning project.
- Put environment-specific host data or credentials in public defaults or committed inventory.
- Run a broad converge for a scoped development change; use the documented tags, limits, and test tiers.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.