ansible-automation
Skill3 starsChanged 3 months agoMITView on GitHub
Designs, reviews, and troubleshoots Ansible inventories, playbooks, roles, variables, vault usage, idempotency, and server automation. Use when managing infrastructure with Ansible, writing playbooks, organizing roles, handling SSH inventories, templating configs, or making repeatable operations safe.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-designSkill
- backend-craftSkill
- meilisearchSkill
- design-coreSkill
- design-datavizSkill
- design-flowsSkill
- design-formsSkill
- design-product-uiSkill
- design-researchSkill
- design-reviewSkill
- design-slidesSkill
- design-systemsSkill
- design-webSkill
- agent-syncSkill
- build-autonomous-agentsSkill
- coding-disciplineSkill
- completion-gateSkill
- deliver-dependency-upgradesSkill
- documentation-and-adrsSkill
- grill-harness-with-docsSkill
- learn-agentic-engineeringSkill
- pnpmSkill
- scaffold-harnessSkill
- scaffold-monorepoSkill
- shift-left-securitySkill
- start-gateSkill
- update-harnessSkill
- write-a-skillSkill
- frontend-craftSkill
- gitea-actionsSkill
- gitea-teaSkill
- manage-infrastructure-as-codeSkill
- multi-stage-dockerfileSkill
- secure-linux-web-hostingSkill
- integrate-product-complianceSkill
- plain-numbersSkill
- product-craftSkill
- run-product-engineeringSkill
- playwright-best-practicesSkill
- testing-strategiesSkill
- writing-coreSkill
- writing-editorialSkill
- writing-engineeringSkill
- writing-marketingSkill
- writing-productSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this for repeatable server and infrastructure operations with Ansible.
- Distinctive: line 14
Read inventories, group vars, host vars, roles, collections, vault policy, runbooks, and CI jobs.
- Distinctive: line 19
Do not run against production without confirmation of inventory and limit.
- Distinctive: line 20
Treat secrets as vault or external secret-manager material, never plain vars.
- Distinctive: line 25
Use handlers for service reloads/restarts.
- Distinctive: line 26
Prefer modules over shell commands.
- Very specific: line 27
If shell is necessary, add creates, removes, changed_when, or failed_when.
- Distinctive: line 29
Keep templates minimal and render from explicit vars.
- Distinctive: line 30
Use tags for operational subsets only when they remain safe alone.
- Distinctive: line 38
Keep environments explicit: staging, production, homelab, or similar.
- Distinctive: line 39
Use group vars for shared policy and host vars for true host differences.
- Distinctive: line 40
Avoid embedding secrets or personal paths in inventory.
- Distinctive: line 41
Document required external vars and vault files.
- Distinctive: line 51
Use check mode cautiously.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Use this for repeatable server and infrastructure operations with Ansible.
Project Fit Check
Before changing automation:
- Read inventories, group vars, host vars, roles, collections, vault policy, runbooks, and CI jobs.
- Identify target hosts, privilege escalation model, SSH user, environment, and whether changes are safe to run repeatedly.
- Preserve existing variable naming, role layout, and collection versions.
- Do not run against production without confirmation of inventory and limit.
- Treat secrets as vault or external secret-manager material, never plain vars.
Playbook Rules
- Make tasks idempotent; repeated runs should converge without surprise.
- Use handlers for service reloads/restarts.
- Prefer modules over shell commands.
- If shell is necessary, add
creates,removes,changed_when, orfailed_when. - Keep templates minimal and render from explicit vars.
- Use tags for operational subsets only when they remain safe alone.
- Scope
no_logto the task that carries the secret. On a whole task it censors the failure message along with the secret, so a failed run reports nothing usable. Split it: non-secret arguments in a logged task, the secret argument in its own.
Inventory Rules
- Keep environments explicit: staging, production, homelab, or similar.
- Use group vars for shared policy and host vars for true host differences.
- Avoid embedding secrets or personal paths in inventory.
- Document required external vars and vault files.
Verification
ansible-playbook --syntax-check playbook.yml
ansible-playbook --check --diff playbook.yml
ansible-playbook --limit <safe-target> playbook.ymlUse check mode cautiously; not every module predicts changes perfectly.
Red Flags
- raw shell task where a module exists
- production inventory selected by default
- secret in plaintext YAML
- restart on every run
- unbounded
hosts: allfor risky changes - task depends on local machine state without documenting it
no_logon a task whose failure message you still need to read
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.

