Terraform + Ansible from zero to a working lab
An interactive, step-by-step guide for sysadmins learning Infrastructure as Code. Follow along on your phone while you work in the terminal.
🎯
What you'll build
Three Linux VMs on a Hyper-V host, built from code: Terraform provisions them, Ansible configures them, and a pull request on your own fork is how a change gets reviewed before anyone applies it.
👤
Who this is for
IT sysadmins who manage servers manually and want to learn the code-driven approach. No dev background needed. Written by a sysadmin learning this in a homelab; not a production reference.
☑️
How it works
Expand each step to read the explanation, then check it off. Progress is saved in your browser. Platform-colored steps are optional — complete only the ones for your environment.
🗂️
The pages
TF = this Terraform guide Ansible = the Ansible guide Ref = quick reference Builder = role generator Scripts = all code files
Platform colors:
Windows/Hyper-V
Ubuntu
RHEL/Rocky
— colored steps are optional, skip what doesn't apply to you
Sync Progress
Copy this URL and open it in another browser to restore your progress.