Learning hub › Ansible 8 Hours
Ansible 8-Hour Interactive Crash Course
For Senior Cloud Engineers · Core Fundamentals → Production Readiness → Cloud (Azure / AWS) → CI/CD and Platform Engineering → Application Deployment Architecture → Deep Troubleshooting → Production Issues and Interviews (optional) · 8 lessons × 1 hour
ansible-core 2.21Ansible 14AAP 2.6Event-Driven AnsibleMoleculeVerified on 2026-11-15
Learning path:
← Terraform 8 Hours
① Core Fundamentals
② From “Works” to “Production-Ready”
③ Moving to the Cloud (Azure)
④ Moving to the Cloud (AWS)
⑤ Automation Operations: CI/CD and Platform Engineering
⑥ Application Deployment Architecture in Practice
⑦ Deep Troubleshooting, Optimization and Advanced Topics
⑧ 50 Production Issues + 50 Interview Questions (optional)
Next course: GitHub 8 Hours →
8 lessons
Hour 1Core FundamentalsAnsible architecture and how it works, inventory and connections, ad-hoc commands and modules, your first playbook and idempotency, variables and facts, conditionals, loops and handlers, Jinja2 templates and file management, deploying myapp and troubleshooting basicsansible-core 2.21 · Python 3.12+
Hour 2From “Works” to “Production-Ready”Role structure and reuse, collections and ansible-galaxy, variable precedence and organization, Ansible Vault and secrets, error handling: block, rescue, failed_when, tags, check and diff mode, ansible-lint and Molecule testing, execution environments and ansible-navigatorRoles · Collections · ansible-lint · Molecule
Hour 3Moving to the Cloud (Azure)azure.azcollection and authentication, the azure_rm dynamic inventory, creating Azure resources with Ansible, configuring Azure VMs and deploying applications, secrets: Key Vault lookups and managed identities, dividing work between Ansible and Terraform/Bicep, cloud troubleshooting in practice, cost, cleanup and self-checkazure.azcollection · azure_rm dynamic inventory
Hour 4Moving to the Cloud (AWS)amazon.aws and authentication, the aws_ec2 dynamic inventory, creating AWS resources with Ansible, managing without SSH: the SSM connection plugin, secrets: Secrets Manager and SSM Parameter Store, configuring EC2 and deploying applications, cloud troubleshooting in practice, cost, cleanup and self-checkamazon.aws · aws_ec2 dynamic inventory · SSM connection
Hour 5Automation Operations: CI/CD and Platform EngineeringAutomation maturity and GitOps workflows, CI: linting, testing and pipelines, CD: running playbooks with GitHub Actions + OIDC, AWX / AAP automation controller, Event-Driven Ansible, credentials, RBAC and auditing, scheduling, notifications and self-service, recap of the first five hours, self-check and cleanupGitHub Actions · AWX / AAP 2.6 · Event-Driven Ansible
Hour 6Application Deployment Architecture in PracticeMulti-tier application architecture and inventory design, load balancer tier: nginx/HAProxy, application tier: systemd services and configuration, data tier: PostgreSQL and backups, rolling updates: serial, max_fail_percentage, zero downtime: delegate_to, run_once, health checks, deploying to containers and Kubernetes, comprehensive architecture reviewserial · delegate_to · community.docker · kubernetes.core
Hour 7Deep Troubleshooting, Optimization and Advanced TopicsTroubleshooting methodology and -vvvv, playbook debugger and debug tricks, deep dive into connection and permission issues, performance: forks, pipelining, fact caching, execution strategies and async/poll, callback plugins and log auditing, custom modules, filters and plugins, mixed-fault blind-box challengedebugger · callbacks · profile_tasks · custom plugins
Hour 8 · Optional50 Production Issues + 50 Interview QuestionsConnections, authentication and privilege escalation, playbooks, variables and templates, modules, idempotency and dependencies, scale, performance, platforms and CI, core concepts and architecture, playbooks, variables and roles, modules, plugins and testing, security, platform and scenario designansible-core 2.21 · Ansible 14 · AAP 2.6
The progress bars on the cards show the learning progress saved by each lesson in this browser (hidden if the browser blocks local storage).
Full outline and time allocation (7 × 1 hour + optional Hour 8)
| Lesson / Module | Time | Topic |
|---|---|---|
| Hour 1 · Core Fundamentals (Open) | ||
| 1-0 | Pre-lesson | Environment setup (control node + managed nodes) |
| 1-1 | 00–06 | Ansible Architecture and How It Works |
| 1-2 | 06–13 | Inventory and Connections |
| 1-3 | 13–19 | Ad-hoc Commands and Modules |
| 1-4 | 19–28 | Your First Playbook and Idempotency |
| 1-5 | 28–35 | Variables and Facts |
| 1-6 | 35–42 | Conditionals, Loops and Handlers |
| 1-7 | 42–50 | Jinja2 Templates and File Management |
| 1-8 | 50–60 | Deploying myapp and Troubleshooting Basics |
| Hour 2 · From “Works” to “Production-Ready” (Open) | ||
| 2-0 | Pre-lesson | Bridge and warm-up |
| 2-1 | 00–08 | Role Structure and Reuse |
| 2-2 | 08–14 | Collections and ansible-galaxy |
| 2-3 | 14–21 | Variable Precedence and Organization |
| 2-4 | 21–28 | Ansible Vault and Secrets |
| 2-5 | 28–35 | Error Handling: block, rescue, failed_when |
| 2-6 | 35–41 | Tags, Check and Diff Mode |
| 2-7 | 41–51 | ansible-lint and Molecule Testing |
| 2-8 | 51–60 | Execution Environments and ansible-navigator |
| Hour 3 · Moving to the Cloud (Azure) (Open) | ||
| 3-0 | Pre-lesson | Warm-up and Azure setup |
| 3-1 | 00–06 | azure.azcollection and Authentication |
| 3-2 | 06–13 | azure_rm Dynamic Inventory |
| 3-3 | 13–22 | Creating Azure Resources with Ansible |
| 3-4 | 22–30 | Configuring Azure VMs and Deploying Applications |
| 3-5 | 30–37 | Secrets: Key Vault Lookups and Managed Identity |
| 3-6 | 37–44 | Ansible vs. Terraform/Bicep: Division of Responsibilities |
| 3-7 | 44–53 | Cloud Troubleshooting in Practice |
| 3-8 | 53–60 | Cost, Cleanup and Self-Check |
| Hour 4 · Moving to the Cloud (AWS) (Open) | ||
| 4-0 | Pre-lesson | Warm-up and AWS setup |
| 4-1 | 00–06 | amazon.aws and Authentication |
| 4-2 | 06–13 | aws_ec2 Dynamic Inventory |
| 4-3 | 13–22 | Creating AWS Resources with Ansible |
| 4-4 | 22–30 | Managing Without SSH: the SSM Connection Plugin |
| 4-5 | 30–37 | Secrets: Secrets Manager and SSM Parameters |
| 4-6 | 37–44 | Configuring EC2 and Deploying Applications |
| 4-7 | 44–53 | Cloud Troubleshooting in Practice |
| 4-8 | 53–60 | Cost, Cleanup and Self-Check |
| Hour 5 · Automation Operations: CI/CD and Platform Engineering (Open) | ||
| 5-0 | Pre-lesson | Prep: GitHub repository and platform environment |
| 5-1 | 00–06 | Automation Maturity and GitOps Workflows |
| 5-2 | 06–15 | CI: Linting, Testing and Pipelines |
| 5-3 | 15–23 | CD: Running Playbooks with GitHub Actions + OIDC |
| 5-4 | 23–33 | AWX / AAP Automation Controller |
| 5-5 | 33–41 | Event-Driven Ansible |
| 5-6 | 41–48 | Credentials, RBAC and Auditing |
| 5-7 | 48–54 | Scheduling, Notifications and Self-Service |
| 5-8 | 54–60 | Recap of the First Five Hours, Self-Check and Cleanup |
| Hour 6 · Application Deployment Architecture in Practice (Open) | ||
| 6-0 | Pre-lesson | Prep: Multi-tier sample application project |
| 6-1 | 00–07 | Multi-Tier Application Architecture and Inventory Design |
| 6-2 | 07–14 | Load Balancer Tier: nginx/HAProxy |
| 6-3 | 14–22 | Application Tier: systemd Services and Configuration |
| 6-4 | 22–30 | Data Tier: PostgreSQL and Backups |
| 6-5 | 30–38 | Rolling Updates: serial, max_fail_percentage |
| 6-6 | 38–46 | Zero Downtime: delegate_to, run_once, Health Checks |
| 6-7 | 46–53 | Deploying to Containers and Kubernetes |
| 6-8 | 53–60 | Comprehensive Architecture Review |
| Hour 7 · Deep Troubleshooting, Optimization and Advanced Topics (Open) | ||
| 7-0 | Pre-lesson | Prep: Fault-injection environment |
| 7-1 | 00–06 | Troubleshooting Methodology and -vvvv |
| 7-2 | 06–14 | Playbook Debugger and debug Tips |
| 7-3 | 14–22 | Deep Dive into Connection and Permission Issues |
| 7-4 | 22–31 | Performance: forks, pipelining, fact caching |
| 7-5 | 31–38 | Execution Strategies and async/poll |
| 7-6 | 38–44 | Callback Plugins and Log Auditing |
| 7-7 | 44–52 | Custom Modules, Filters and Plugins |
| 7-8 | 52–60 | Mixed-Fault Blind-Box Challenge |
| Hour 8 (optional) · 50 Production Issues + 50 Interview Questions (Open) | ||
| 8-0 | Pre-lesson | Usage notes and fault-lab environment |
| 8-1 | 00–08 | A · Connections, Authentication and Privilege Escalation (Questions 1–12) |
| 8-2 | 08–16 | A · Playbooks, Variables and Templates (13–25) |
| 8-3 | 16–24 | A · Modules, Idempotency and Dependencies (26–38) |
| 8-4 | 24–30 | A · Scale, Performance, Platforms and CI (39–50) |
| 8-5 | 30–37 | B · Core Concepts and Architecture (Interview 1–13) |
| 8-6 | 37–44 | B · Playbooks, Variables and Roles (14–25) |
| 8-7 | 44–52 | B · Modules, Plugins and Testing (26–38) |
| 8-8 | 52–60 | B · Security, Platforms and Scenario Design (39–50) |
Pagination for each module
Hours 1–7: principles (What / Why / How / When) · diagrams · animations · commands · labs · production case studies · troubleshooting · quizzes · Chinese voice-over · videos. Hour 8: the production-issues part has Quick Overview · Issue Explanations · Diagrams · Animations · Reproduction Labs · Quiz · Voice-over · Video; the interview part has Quick Overview · Interview Question Explanations · Diagrams · Mock Interview · Scenario Questions · Quiz · Voice-over · Video. Every lesson ends with a cheat sheet, a comprehensive lab, a final quiz, and a sources and version notes page.
Lab environment
- Control node: Ubuntu 24.04 (Python 3.12+),
pipx install --include-deps ansible - Hours 1, 2, 6, 7: 3 Ubuntu containers running sshd as managed nodes (Module 0 provides the Dockerfile; for the limitations of systemd inside containers and the alternatives, see the lesson)
- Hour 3 Azure VMs (
azure.azcollection+ dynamic inventory), Hour 4 AWS EC2 (amazon.aws+ SSM connection, no need to open SSH); every lesson documents costs and cleanup steps - Hour 5: GitHub Actions, AWX / AAP 2.6, Event-Driven Ansible
- Sample application: reuses the Docker course's myapp, which is expanded in Hour 6 to an nginx load balancer + 2 application nodes + PostgreSQL
Animations and voice-over: Animations are built with inline SVG and JavaScript and play offline; the voice-over pages use the browser's built-in Web Speech API (en-US) to read the narration script aloud.
Limitations: Lab commands are written from the official documentation and have not been run step by step in a real environment; IDs, IPs and timestamps in the expected output are sample values. The authoring environment cannot produce videos or MP3 files, so the video pages list only verified public videos along with storyboard scripts. Details that could not be verified are noted on each lesson's “Sources and Version Notes” page.
Next course: GitHub 8-Hour Interactive Crash Course: enter the CI/CD platform track (GitHub / GitLab / Azure DevOps / Jenkins; pick one or two based on the platforms your team actually uses).
Next course: GitHub 8 Hours →