Lang Ansible
Lint and syntax-check Ansible playbooks.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-ansible |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos |
Reference: full SKILL.md
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Ansible Language Pack Skill
Drive Ansible work with the project index and standard CLI recipes.
LSP hint: yaml-language-server (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Инструмент автоматизации серверов: описываете желаемое состояние (пакеты, пользователи, сервисы) в YAML-playbooks, Ansible приводит машины к нему.
Лучше всего для:
- настройка серверов
- идемпотентные playbooks
- роли и inventories
- конфиг-менеджмент без агентов
When to Use
Выбирай этот pack, если:
- есть ansible.cfg / galaxy.yml / requirements.yml
- нужно настроить VPS/серверы
- пользователь просит Ansible
Manifests (автодетект репозитория): ansible.cfg, ansible.cfg.ini, galaxy.yml, requirements.yml
Обычно рядом: Часто Terraform (создать машину) + Ansible (настроить); Docker на хостах.
См. также skill choose-language-pack и vibeos language recommend "…".
When NOT to use
- облачные ресурсы (VM/сеть/БД) как код → Terraform
- контейнеры приложения → Docker
- K8s workloads → yaml/kustomize/helm
Prerequisites
vibeos pack apply lang-ansible --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
ansible-lint
ansible-playbook --syntax-check site.yml || true
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-ansible --apply |
| Doctor | vibeos language doctor ansible |
| Primary test | ansible-lint |
| Choose guide | skill choose-language-pack |
| Recommend | vibeos language recommend "…" |
Procedure
- Для нового продукта сначала
choose-language-pack/vibeos language recommend. - Work from the project root that matches pack manifests.
- Validate (lint/config/syntax) before any apply/up/push that touches real infra.
- Prefer project-local tooling already present in the repo.
- Explain risky ops (apply, up, push) and wait for explicit user ask.
Pitfalls
- Prefer --check / syntax-check before applying to real hosts.
- Never commit vault passwords; use ansible-vault.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor ansible
vibeos project index status