Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jedwards1230v0.4.1MITIn 1 marketplace
Ansible quality gates — on stop, diff-scoped ansible-lint + ansible-playbook --syntax-check on modified playbooks/roles, plus a warn-only vault-plaintext check, mirroring CI. Warn-skips on a broken lint env instead of false-blocking. Includes an /ansible skill carrying recent ansible-core/ansible-lint reference in context.
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Ansible quality gates. On Stop / SubagentStop / TaskCompleted / TeammateIdle, three checks run against the Ansible YAML modified on the current branch:
ansible-lint) — blocks (exit 2) on real rule violations in
the modified files. Honors the repo's own .ansible-lint config (profile,
warn_list, skip_list); only imposes --profile production when the repo
ships no ansible-lint config of its own. This gate also covers syntax (it
runs ansible's parser internally).ansible-playbook --syntax-check) — blocks on genuine
parse errors in modified playbooks. A lighter-weight backstop that still
runs when the richer lint env is degraded, and catches breakage a lax lint
profile might have disabled.vault.yml, vault_*, *-vault.yml, anything under a
vault/ dir) that isn't $ANSIBLE_VAULT-encrypted, in case a plaintext
secrets file slipped in.All gates are diff-scoped: they act only on .yml / .yaml files modified
in the working tree, staged, or on the current branch vs. its merge-base with
the default branch (origin/HEAD, falling back to origin/main/origin/master
and then the local refs). Galaxy-installed collections/, .cache/, and nested
worktrees/ are excluded, and a stop_hook_active guard prevents infinite Stop
loops. Diff-scoping is essential here — an Ansible repo typically carries
pre-existing lint debt, so a repo-wide gate would false-block every turn.
ansible-lint rides on ansible-core + Python + installed collections — a much
more fragile base than a single tofu/gofmt binary. A repo can be perfectly
correct yet ansible-lint still errors because a collection isn't installed
("couldn't resolve module/action 'ansible.posix.mount'"), a Python import is
broken (ModuleNotFoundError), or vaulted vars can't be decrypted (no
vault.key). Those are environment gaps, not code defects, so blocking on
them would false-fire constantly.
Each gate therefore distinguishes:
This mirrors tofu-quality's init-gating philosophy: block only on genuine code
defects, never on an environment the hook can't fully provision.
Unlike go-quality/tofu-quality, there is no PostToolUse auto-format.
ansible-lint --fix is the closest equivalent to gofmt -w, but its autofix
output shifts between ansible-lint versions: if your local version differs from
the project's pinned one, an auto-fix-on-save would ping-pong against CI (the
same version-skew trap that bites tool-based formatters with non-deterministic
output). So this plugin checks but never rewrites. If you want to autofix,
run ansible-lint --fix yourself with the repo's pinned version.
This is a portable plugin and may be enabled globally. Every gate self-gates on
the repo actually being an Ansible project (it looks for ansible.cfg,
.ansible-lint, galaxy.yml, or a conventional playbooks/ / roles/ /
inventory / group_vars / host_vars dir). In a repo with none of those, the
gates exit silently and the SessionStart probe stays quiet — no nagging about
missing tools in a repo that has no Ansible.
ansible-developer agentA full-lifecycle authoring agent: it plans, writes idempotent playbooks/roles,
and drives ansible-lint + --syntax-check to green, then opens a PR for
review. It owns the things the gates can't check (idempotency, FQCN, # noqa
discipline, vault hygiene) and never runs plays against live hosts. See
agents/ansible-developer.md.
/ansible skillA reference skill whose description is always in context, carrying a
one-line hedge about recent ansible-core / ansible-lint behavior the model's
training may predate (e.g. the 2.19 "Data Tagging" templating overhaul). Invoke
/ansible to load the fuller body: the recent-release notes plus a durable
cheatsheet for ansible-lint profiles/noqa, idempotency, FQCN/role structure,
and ansible-vault.
Keep it current: when a new ansible-core minor or ansible-lint major lands,
update the recent-behavior line in the skill description and the matching body
section.
Plugins from other owners that cover similar ground
npx claudepluginhub jedwards1230/claude-plugins --plugin ansible-qualityBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.