ansible-convert
✓Use when converting shell scripts to Ansible playbooks. Use when migrating bash automation, manual procedures, or Dockerfiles to idempotent Ansible tasks.
Installation
SKILL.md
Shell scripts execute commands imperatively; Ansible declares desired state. Conversion means rethinking operations as state declarations, not translating commands line-by-line. The goal is idempotency: running twice produces identical results.
Don't wrap shell commands in Ansible's shell module. Find the module that achieves the same end state declaratively.
| mkdir -p | ansible.builtin.file | state: directory | | cp | ansible.builtin.copy | Static files | | cp with variables | ansible.builtin.template | Use .j2 templates | | rm -rf | ansible.builtin.file | state: absent | | ln -s | ansible.builtin.file | state: link | | chmod, chown | Include in file/copy/template | mode, owner, group params |
Use when converting shell scripts to Ansible playbooks. Use when migrating bash automation, manual procedures, or Dockerfiles to idempotent Ansible tasks. Source: sigridjineth/hello-ansible-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/sigridjineth/hello-ansible-skills --skill ansible-convert- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-05
- Updated
- 2026-02-18
Quick answers
What is ansible-convert?
Use when converting shell scripts to Ansible playbooks. Use when migrating bash automation, manual procedures, or Dockerfiles to idempotent Ansible tasks. Source: sigridjineth/hello-ansible-skills.
How do I install ansible-convert?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/sigridjineth/hello-ansible-skills --skill ansible-convert Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/sigridjineth/hello-ansible-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-05