ansible-automation
Skill0 starsChanged 3 months agoMITView on GitHub
Authors, reviews, tests, and troubleshoots Ansible playbooks, roles, inventories, collections, and automation workflows. Use for YAML automation, ansible-core, Ansible Lint, Molecule, variable precedence, idempotency, or safe rollout planning; not for unapproved production execution.
In this repository16 other files it gives its agents.
- aws-architectureSkill
- azure-architectureSkill
- certification-studySkill
- cloud-architectureSkill
- cloud-security-reviewSkill
- code-reviewSkill
- devops-cicdSkill
- finops-cost-reviewSkill
- gcp-architectureSkill
- kubernetes-operationsSkill
- learning-journalSkill
- network-engineeringSkill
- semantic-commitSkill
- software-architectureSkill
- sre-incident-responseSkill
- terraform-infrastructureSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 19
Prefer built-in module behavior over command or shell, use fully qualified collection names when ambiguity is possible, and keep roles …
- Distinctive: line 21
Keep defaults overridable, required inputs validated, and variable ownership clear.
- Distinctive: line 22
Run syntax checks and the project's lint and tests.
- Distinctive: line 23
Test idempotency and important failure paths in an isolated environment with the repository's existing Molecule or integration workflow.
- Distinctive: line 28
Never commit credentials, unencrypted secrets, vault passwords, private keys, tokens, or sensitive rendered output.
- Very specific: line 29
Do not print secret variables.
- Distinctive: line 30
Never run a playbook against production, rotate credentials, reboot hosts, or perform destructive package, storage, network, firewall, or …
- Distinctive: line 31
Do not assume check mode predicts every change or that a successful task proves the managed service is healthy.
- Very specific: line 32
Avoid blanket ignore_errors, broad privilege escalation, unbounded host patterns, and non-idempotent shell pipelines.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ansible Automation
Build repeatable automation that is safe to rerun and clear about its target scope.
Workflow
- Inspect
ansible.cfg, dependency manifests, inventories, variable directories, playbooks, roles, CI, and repository conventions before editing. - Confirm the intended hosts, environment, connection method, privilege escalation, supported Ansible version, and collection versions.
- Prefer built-in module behavior over
commandorshell, use fully qualified collection names when ambiguity is possible, and keep roles cohesive. - Model desired state idempotently. Give tasks descriptive names, use handlers for service changes, and mark changed or failed behavior explicitly when modules cannot infer it.
- Keep defaults overridable, required inputs validated, and variable ownership clear. Account for Ansible variable precedence instead of relying on accidental overrides.
- Run syntax checks and the project's lint and tests. Use check and diff modes where supported, but do not treat them as proof when modules lack complete support.
- Test idempotency and important failure paths in an isolated environment with the repository's existing Molecule or integration workflow.
- For rollout, preview the exact inventory and host limit, start with a canary or small serial batch, verify handlers and health, then expand only after approval.
Guardrails
- Never commit credentials, unencrypted secrets, vault passwords, private keys, tokens, or sensitive rendered output.
- Do not print secret variables; use
no_log: truewhere output could expose them, while preserving enough non-sensitive diagnostics. - Never run a playbook against production, rotate credentials, reboot hosts, or perform destructive package, storage, network, firewall, or account changes without explicit approval.
- Do not assume check mode predicts every change or that a successful task proves the managed service is healthy.
- Avoid blanket
ignore_errors, broad privilege escalation, unbounded host patterns, and non-idempotent shell pipelines. - Preserve repository-supported versions and dependency pins unless the task explicitly includes an upgrade.
Verification Output
Report changed files, targeted hosts or test instances, syntax/lint/test commands, first-run and second-run results, expected changed count, skipped checks, rollout risk, and the exact production command only as a proposed command unless execution was approved.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

