Skip to content

Latest commit

Β 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ansible Zero to Production β€” Complete 15-Module Masterclass

From Beginner to Production-Ready Infrastructure Automation

πŸš€ Nkechi Anna Ahanonye β€” Cloud & DevOps Engineer | I turn manual, 3 AM-breaking deployments into 1-min automated pipelines with AWS + Ansible + Terraform | Featured: 15-Module Ansible Lab with real terminal

For DevOps students who need relatable, hands-on examples β€” not textbook theory.

Live Portfolio: πŸ“¦ ansible_practical – 17 Green Runs βœ… | πŸ“– You are here (Guide) | πŸ§ͺ Student Lab | πŸ’Ό LinkedIn

CI/CD Pipeline

"I built this guide because beginners deserve better than scattered tutorials. Every module shows you exactly what success looks like." β€” Nkechi Ahanonye, Cloud & DevOps Engineer, Lagos

A free, structured Ansible curriculum covering Ad-hoc Commands β†’ Inventory β†’ Playbooks β†’ Roles β†’ Jinja2 Templates β†’ Vault AES-256 β†’ Dynamic Inventory β†’ Collections β†’ Capstone. Real terminal output in every module β€” no fluff, just what gets you hired.


🌐 Live Site

15 modules β€’ Real terminal output β€’ 100% free β€’ Built with MkDocs Material 9.7.6


πŸ“š What's Inside β€” 15 Modules Zero to Production

# Module What You'll Master Level
01 Introduction to Ansible Agentless architecture, control node vs managed nodes 🟒 Beginner
02 Installation Linux, Mac, Windows WSL β€” verified install 🟒 Beginner
03 Ad-hoc Commands One-liners before writing playbooks 🟒 Beginner
04 Inventory Static, grouped & dynamic inventory 🟒 Beginner
05 First Playbook Your first YAML deployment that actually works 🟒 Beginner
06 Variables Define, scope & override like a pro 🟒 Beginner
07 Handlers Restart services only when changed 🟑 Intermediate
08 Roles Reusable, production-grade structure 🟑 Intermediate
09 Templates & Jinja2 Dynamic config files 🟑 Intermediate
10 Conditionals & Loops when, loop, filters 🟑 Intermediate
11 Vault AES-256 Never commit plain secrets again 🟑 Intermediate
12 Error Handling ignore_errors, block/rescue πŸ”΄ Advanced
13 Dynamic Inventory AWS, GCP, Azure auto-scaling πŸ”΄ Advanced
14 Collections Galaxy, ansible-galaxy πŸ”΄ Advanced
15 Capstone Project Full prod infrastructure from scratch πŸ”΄ Advanced

✨ What Makes This Different?

πŸ“Ί Expected Output Everywhere Every module shows you the exact terminal output you should see when it works. No guessing.

PLAY [web servers] *****
TASK [Install nginx] ***
changed: [web01]
PLAY RECAP *****
web01 : ok=2 changed=1

πŸ”„ Built for Real Jobs

  • Progressive learning β€” each module builds on last
  • Hands-on exercises, not just reading
  • Production-ready patterns used in ansible_practical
  • Lint β†’ Dry-Run β†’ Deploy mindset

πŸš€ Quick Start β€” Run Locally

# Clone
git clone https://github.com/nkydigitech/ansible-guide.git
cd ansible-guide

# Install MkDocs Material
pip install mkdocs-material

# Serve
mkdocs serve

Open http://127.0.0.1:8000 β€” hot reload enabled!


🌐 Deployment β€” Auto to GitHub Pages

This site auto-deploys via GitHub Actions.

Required GitHub Pages setting (one time):

  1. Go to Settings β†’ Pages
  2. Source: Deploy from a branch
  3. Branch: gh-pages / root
  4. Push to main β†’ workflow builds and pushes to gh-pages

Workflow file: .github/workflows/deploy.yml


πŸ§ͺ Part of the Trilogy β€” Learn the Right Order

Repo What It Proves Link
πŸ“¦ ansible_practical Senior pipeline β€” 17 green runs, no SSH View Repo β†’
πŸ“– ansible-guide (You are here) Teaching β€” 15 modules, zero to prod You are here
πŸ§ͺ ansible-lab Practice β€” 4 hands-on labs View Lab β†’

Recruiter flow: Lab β†’ Guide β†’ Practical (green CI) β†’ Hired.


🀝 Contributing

Found a typo? Want to add Module 16? PRs welcome!

  1. Fork the repo
  2. git checkout -b fix/module-name
  3. Make changes
  4. Submit PR

All contributors get credit.


πŸ‘©πŸ½β€πŸ’» Author β€” Nkechi Anna Ahanonye

Cloud & DevOps Engineer | I turn manual, 3 AM-breaking deployments into 1-min automated pipelines with AWS + Ansible + Terraform | Featured: 15-Module Ansible Lab with real terminal

I build infrastructure that doesn't break at 2 AM. 15 years running a cybercafe taught me: real users don't care about your stack, they care that things just work.


⭐ Star this repo if it stopped you from SSH-ing into prod!
Built with ❀️ by Nkechi β€” Open source & free forever. Share with every DevOps student you know πŸš€

πŸ“„ License

MIT β€” free to use, share, and build on.


Keywords: ansible tutorial, ansible zero to production, ansible complete guide, ansible roles, ansible vault, ansible jinja2, ansible dynamic inventory, ansible collections, devops ansible, infrastructure as code, mkdocs material

About

πŸš€ Master Ansible From Zero to Production β€” 15 modules, 50+ exercises, perfect navigation. Part of Ansible Trilogy: Practical β†’ Guide β†’ Lab | Beginner to Capstone

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages