Learning path · 5 lessons · about 3 h

Ansible in depth: automation at scale

You've written a playbook that set up two servers the same way, twice, with nothing changing the second time. That's the moment automation clicks. This path takes you from “a playbook that works” to automation a team can trust with a whole fleet: settings in the right places, reusable roles, encrypted secrets, careful rollouts, and tests that catch mistakes before production does.

Is this path for you?

You're ready if these sound familiar (each links to the lesson that teaches it):

The first one matters most. Everything here builds on that playbook.

What's ahead

LessonYou'll learn to…The challenge
Structure
lesson 1: variables, loops & handlersuse group_vars and host_vars, understand precedence, loop, and restart only when neededTwo titles, one admin list, zero wasted restarts
lesson 2: roles & collectionspackage a setup as a role, use defaults, read module docs offlineTurn your playbook into a five-line playbook and a reusable role
Operate
lesson 3: Ansible Vaultencrypt secrets that live in git, and run playbooks with a vault passwordA database password in plain text. Lock it up.
lesson 4: fleets & rolling updatesenvironments, groups of groups, serial rollouts with health checksRoll version 2 across three servers, and survive a broken one
lesson 5: testing & lintingsyntax checks, ansible-lint, idempotence and smoke tests, tagsClean up a rushed role until every check is green

How this path is different

A note from me

Good automation is boring: it does the same thing every time, and a second run changes nothing. Aim for boring. When a playbook surprises you, slow down and find out why before you run it anywhere that matters.