ansible
Provides comprehensive guidance for Ansible automation including playbooks, roles, inventory, and module usage. Use when the user asks about Ansible, needs to automate IT tasks, create Ansible playbooks, or manage infrastructure with Ansible.
- License 许可
- Apache-2.0
- 所属仓库
- aeroalgo/dev-hub
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ansible
- license
- Apache-2.0
- description
- Provides comprehensive guidance for Ansible automation including playbooks, roles, inventory, and module usage. Use when the user asks about Ansible, needs to automate IT tasks, create Ansible playbooks, or manage infrastructure with Ansible.
02 资源文件 2
- 参考文档agents/openai.yaml300 B
- 许可证LICENSE.txt11.1 KB
03 SKILL.md 正文
When to use this skill
Use this skill whenever the user wants to:
- 编写 playbook、role、inventory;执行 ad-hoc 或 playbook
- 用 module(package、copy、template、service、user 等)管理配置与部署
- 处理变量、条件、循环与错误处理
How to use this skill
- Playbook:YAML 定义 hosts、tasks、handlers、vars;role 组织可复用任务与模板。
- CLI:
ansible-playbook playbook.yml、ansible -m ping all;inventory 用 INI 或 YAML;凭据用 vault 或 SSH 密钥。 - 环境:控制机需 Python;目标机 SSH 可达;可选 Ansible Tower/AWX 做调度与审计。
Best Practices
- 用 role 与 group_vars/host_vars 分层;避免单一大 playbook。
- 敏感数据用 ansible-vault 加密;幂等 task 用 state 与条件。
- 明确失败处理(ignore_errors、block/rescue);日志与 tag 便于排查。
Keywords
ansible, playbook, role, inventory, 自动化, 配置管理
04 同仓库更多 Skills
your-skill-name
Replace with a clear description of what this skill does. Use when <the situations that should trigger it>.
websocket-engineer
Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
web-security-review
Review web applications against the OWASP Top 10 for Web Applications (2021). Use when auditing web apps, reviewing server-side code, or assessing web frameworks for the classic OWASP Top 10 risks including injection, broken auth, and XSS.
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.