Home › Learn by Playing › Skills › Ansible
Learn Ansible free, step by step
Automate servers with simple YAML playbooks.
12 units · 108 cards · Basic → Intermediate → Advanced · free, no login
How it works
- Short cards like Instagram reels: read, answer, see why.
- Strict order: each unit builds on the one before.
- Quizzes, code puzzles and game breaks keep it fun.
- Missed cards come back for review. A daily goal of 6 cards builds a streak.
- Finish a level, then take a 10-question challenge for a self-check badge (not an official certificate).
- Works on any phone, even offline after the first visit.
Try a few cards
💡 Learn
The inventory
The inventory lists your servers in groups, like [web] with web1 and web2. Playbooks then target a group with hosts: web. Ansible connects over SSH; no agent is needed on the servers.
Try it
Where do you list the servers that Ansible manages?
- A Jinja2 template
- The Dockerfile
- The handlers section
- The inventory file
Show the answer
✓ The inventory file. The inventory lists hosts and groups, like [web] with web1 and web2. A playbook then targets a group with hosts: web.
Try it
Which group name always exists in Ansible, and contains every host in your inventory?
- all
- default
- everyone
- servers
Show the answer
✓ all. Ansible always gives you the built-in group all. You do not need to write it in the file.
Full syllabus
Basic · 4 units
- Inventory
- Ad-hoc commands
- Playbook structure
- apt, copy, service
Intermediate · 4 units
- Variables
- Handlers
- Templates
- Loops and conditions
Advanced · 4 units
- Roles
- Ansible Vault
- Galaxy
- Testing idempotency
Kramavriddhi Learn is free and independent. Facts are checked against the official documentation. Badges are self-checks, not official certificates. Found a mistake or have an idea? Tell us.