THE DEV BENCH
🅰️

Ansible Automation

One workspace for mastering Ansible- the agentless, push-based automation and configuration-management tool. Eight topic decks (208 cards), a practice exam, the browser-graded YAML drills for writing real playbooks, a study routine, and free-first resources (Ansible's own docs).

You can learn Ansible at $0. Ansible is open-source and runs against localhost or a throwaway container/VM - no paid infrastructure needed. There is no vendor-neutral Ansible certification with an official percentage cut score, so this workspace targets the skill; the practice exam's 75% is a readiness benchmark, not a real pass mark. If you want a credential, the Red Hat RHCE (EX294)is the main Ansible cert - it's hands-on and requires the RHCSA first.

Deep work · Ansibletotal
or log

Where this fits

honest roadmap
PrereqsLinux + YAML basicsBefore you start

Recommended background

Comfort with the Linux command line, SSH, and reading YAML. No prerequisite cert. You can learn and practice all of Ansible at $0 - it runs against localhost or a couple of throwaway VMs/containers.

SkillAnsible AutomationThe goal of this workspace

Vendor-neutral skill - no single official exam

This path targets the SKILL (playbooks, roles, inventory, Jinja2, idempotent config) rather than one exam. There is no vendor-neutral Ansible certification with a published cut score, so the practice exam here is a readiness benchmark, not a real pass mark.

RHCE EX294Red Hat Certified Engineer (optional)If you want a cert

Performance-based · hands-on · Red Hat (RHCSA required first)

The main Ansible-focused certification. EX294 is a hands-on, performance-based exam on RHEL and requires the RHCSA first. Red Hat does not publish a percentage cut score. This workspace builds the concepts and recall; the real exam is all hands-keyboard, so pair it with live practice.

Topic areas — weight your study by these

skill map
TopicWhat it covers
1 · Fundamentals & architectureWhat Ansible is; agentless SSH; control vs managed nodes; push model & idempotency; ansible-core vs collections; ad-hoc vs playbooks; Ansible vs Terraform/Puppet.
2 · Inventory & patternsStatic INI/YAML inventory, groups & children, host_vars/group_vars, ranges, host patterns (union/intersection/exclusion), connection vars, dynamic inventory.
3 · Playbooks, plays & tasksPlay structure, tasks & modules, execution order, ansible-playbook flags (--check/--diff/--limit/--tags/-e), become, gather_facts, serial, the play recap.
4 · Variables, facts & Jinja2Variable precedence (extra-vars win, defaults lowest), facts, register, set_fact, when conditionals, loops, Jinja2 filters & the template module, magic vars.
5 · Roles & collectionsRole directory structure, defaults vs vars, import_role vs include_role, meta dependencies, ansible-galaxy, FQCN & collections, requirements.yml.
6 · Modules & common taskspackage/service/file/copy/template/lineinfile/user modules, state values, command vs shell (and why command wins), creates/removes idempotency, get_url/uri, ansible-doc.
7 · Idempotency, handlers & errorsHandlers & notify, changed_when/failed_when, blocks (block/rescue/always), ignore_errors, check mode, tags, delegate_to, run_once, until/retries.
8 · Vault, config & best practicesansible-vault (encrypt/encrypt_string/rekey), --vault-password-file, ansible.cfg precedence, become/become_method, best-practice layout, ansible-lint, Molecule.

There is no official Ansible objective weighting, so no fake percentages - but Variables & Jinja2 (4) and Modules (6) carry the most testable detail, and the decks are sized to match.

Flashcard decks — the recall layer

8 decks · 208 cards
1 · Fundamentals & Architecture24 cards — what Ansible is, the agentless SSH model, control vs managed nodes, push vs pull, idempotency, ansible-core vs collections, and how Ansible compares to Terraform/Puppet/Chef. Start here, then move to Inventory.

Topics 2–8

Practice exam

live · topic-weighted pool
Ansible Automation Practice ExamA fresh 40-question draw each attempt from a topic-weighted pool across all 8 areas, scored against a 75% readiness benchmark. Scenario + recall MCQs, a missed-question review with worked explanations, and a per-topic weak-area breakdown. Progress saves in your browser — no login.

Hands-on YAML — browser-graded

hands-on

Recognizing Ansible in flashcards isn't the same as writing it. The Configuration Languages skill-builder has a YAML track that grades real YAML you write - indentation, mappings, sequences, quoting, and the type traps - in your browser, no install needed. Playbooks ARE YAML, so do it alongside the decks. For the full loop, install Ansible and run ansible-playbook against localhost or a throwaway container.

Skill map — where to practice each thing

the workspace
SkillPractice withStatus
Concept, playbook & role recallThe 8 topic decks (208 cards)ready
Exam-format & weak-area drillingAnsible Automation Practice Exam (draw 40, benchmark 75%)ready
Writing real YAML (playbooks, indentation, quoting)The YAML track in the Configuration Languages skill-builder (browser-graded)ready
Templating with Jinja2The variables & Jinja2 deck + writing .j2 templates locallyready
Running real playbooks (init/plan/converge)Free locally — target localhost or a throwaway container/VM; ansible-playbook --check for dry runsexternal
Idempotency in practiceRun a playbook twice against a VM and confirm the second run reports 0 changedexternal

On cost — the honest read

honest

Everything you need to learn Ansible is free. Ansible is open-source; the decks and exam here are free; and Ansible's own documentation is free and excellent. You can exercise every topic - inventory, playbooks, variables, roles, handlers, vault - against localhost or a couple of throwaway VMs/containers, which cost nothing. The only Ansible credential that costs money is the Red Hat RHCE (EX294), which is optional and requires the RHCSA first.

A study routine

  1. 1.Work the decks in order (1 -> 8), recalling out loud before revealing. Weight your time to Variables & Jinja2 (4) and Modules (6) - they carry the most testable detail.
  2. 2.Drill the YAML track in the Configuration Languages skill-builder alongside deck 3 so you can WRITE playbook YAML, not just recognize it (indentation and quoting are the usual failures).
  3. 3.Install Ansible (pip install ansible) and run ad-hoc commands against localhost - `ansible localhost -m ping`, `-m setup` to see facts - for $0.
  4. 4.Write a small playbook that installs a package, drops a templated config file (template module), and notifies a handler to restart a service. Run it, then run it AGAIN and confirm the second run is all 'ok' (idempotency).
  5. 5.Once the decks feel solid, sit the practice exam under the 50-minute timer; review every miss and watch the per-topic weak-area breakdown. Clear ~75% several times before treating yourself as interview-ready.

Curated resources — free-first

verified July 2026

Everything you need is free and comes straight from the Ansible project and Red Hat. Every link checked live (July 2026).

Start your reps