Execute use when you need to work with Ansible automation. This skill provides Ansible playbook creation with comprehensive guidance and automation. Trigger with phrases like "create Ansible playbook", "automate with Ansible", or "configure with Ansible".
npx claudepluginhub flight505/skill-forge --plugin ansible-playbook-creatorThis skill is limited to using the following tools:
Generate production-ready Ansible playbooks, roles, and inventories for infrastructure automation. Supports provisioning servers, deploying applications, configuring services, and enforcing desired state across fleets of machines using SSH-based agentless automation.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Generate production-ready Ansible playbooks, roles, and inventories for infrastructure automation. Supports provisioning servers, deploying applications, configuring services, and enforcing desired state across fleets of machines using SSH-based agentless automation.
ansible --version)ansible-lint installed for playbook validationansible.cfg, inventory/, roles/, group_vars/) to understand current structurehosts, become, vars, tasks, handlerstasks/, handlers/, templates/, defaults/, vars/, meta/)group_vars/ and host_vars/ for environment-specific values, keeping secrets in vault-encrypted filesansible-lint and ansible-playbook --check --diff (dry run).yml) with structured tasks, handlers, and variables.j2) for dynamic configuration filesgroup_vars/ and host_vars/ for environment separationansible.cfg with connection and privilege escalation settings| Error | Cause | Solution |
|---|---|---|
unreachable: Failed to connect to host | SSH connection failure or wrong host/port | Verify SSH keys, host IPs, and that port 22 is open with ansible -m ping |
permission denied on become | Missing or incorrect sudo password | Add --ask-become-pass or configure ansible_become_password in vault |
undefined variable | Variable not defined in vars, defaults, or inventory | Check variable precedence; define in defaults/main.yml or group_vars/ |
ansible-lint: syntax-check failed | YAML syntax error or deprecated module usage | Run ansible-lint -v and fix reported issues; replace deprecated modules |
changed on every run (not idempotent) | Using command/shell without creates/removes guards | Add creates: parameter or switch to purpose-built modules (copy, template, file) |