一键导入
ansible-operations
Project-specific Ansible operations template — customize with your inventory, playbook catalog, deployment workflows, and host group details
菜单
Project-specific Ansible operations template — customize with your inventory, playbook catalog, deployment workflows, and host group details
Use when managing Laravel Forge servers, sites, deployments, SSL, databases, queue workers, scheduled jobs, security rules, and server provisioning. Covers Forge CLI, API, deployment scripts, Nginx templates, daemon management, and zero-downtime deployments.
Use when implementing or auditing accessibility features. Covers WCAG 2.1 AA/AAA compliance, ARIA roles and attributes, keyboard navigation, screen reader support, color contrast, focus management, and accessible component patterns.
Use when evaluating AI/LLM systems — benchmark design, automated evaluation pipelines, human evaluation protocols, A/B testing, hallucination detection, factuality checking, bias testing, safety evaluation (red teaming), latency/cost metrics, eval datasets, regression testing for prompts, and model comparison frameworks.
Use when building KPI frameworks, designing dashboards, analyzing marketing performance, setting up attribution models, or creating automated reports. Covers Google Analytics 4, social media analytics, funnel analysis, cohort analysis, A/B test analysis, ROI calculation, competitive benchmarking, and stakeholder reporting.
Use when designing or implementing REST APIs. Covers RESTful conventions, versioning, pagination, filtering, error handling, rate limiting, HATEOAS, OpenAPI documentation, and API security best practices.
Use when implementing authentication, authorization, or access control. Covers Laravel Sanctum, OAuth 2.0, RBAC with Spatie Permissions, multi-tenant auth, API token management, MFA, and session security.
| name | ansible-operations |
| description | Project-specific Ansible operations template — customize with your inventory, playbook catalog, deployment workflows, and host group details |
| user-invocable | false |
| allowed-tools | ["Read","Write","Edit","Bash","Grep","Glob"] |
Customize this skill with your infrastructure details. The devops-engineer reads this before every Ansible task.
Path: /path/to/your/ansible-project
Config: ansible.cfg
web_servers — Web/application servers
deploy~/.ssh/deploy_key.pemdb_servers — Database servers
deploy~/.ssh/deploy_key.pemapp_servers — Application servers
ubuntu~/.ssh/app_key.pem| Playbook | Target | Purpose |
|---|---|---|
playbooks/ping_all.yml | all | Test SSH connectivity |
playbooks/disk_usage.yml | all | Check disk space |
| Playbook | Target | Purpose |
|---|---|---|
playbooks/deploy_app.yml | app_servers | Deploy application |
playbooks/deploy_all.yml | all | Full deployment |
| Playbook | Target | Purpose |
|---|---|---|
playbooks/install_nginx.yml | web_servers | Install Nginx |
playbooks/install_redis.yml | --extra-vars | Install Redis |
| Playbook | Target | Purpose |
|---|---|---|
playbooks/update_credentials.yml | all | Rotate credentials |
playbooks/backup_db.yml | db_servers | Database backup |
# 1. Pre-check
ansible-playbook playbooks/ping_all.yml --limit app_servers
# 2. Deploy
ansible-playbook playbooks/deploy_app.yml
# 3. Verify
ansible-playbook playbooks/health_check.yml --limit app_servers
# Single host
ansible-playbook playbooks/deploy_app.yml --limit app01.example.com
# Group
ansible-playbook playbooks/deploy_app.yml --limit app_servers
# Multiple hosts
ansible-playbook playbooks/deploy_app.yml --limit "app01.example.com,app02.example.com"
ansible-playbook playbooks/deploy_app.yml --check
# Check uptime
ansible web_servers -m command -a "uptime"
# Restart a service
ansible app_servers -m systemd -a "name=nginx state=restarted" --become
ansible-vault encrypt_string for inline secretsvars_files with vault-encrypted files for bulk secretsno_log: true on tasks that handle credentials