Free Online Course · Self-paced
Ansible Tutorial for Beginners [RHCE EX294 Exam]
Free, hands-on Ansible tutorial for beginners that takes you from zero to RHCE EX294. Lab setup, playbooks, roles, vaults, AWS provisioning - 27 lessons across 8 chapters, every example tested on RHEL 8+.
- 27 parts
- ~231 min total
- Beginner to Advanced
- Updated May 2026
This tutorial covers everything you need to become a Red Hat Certified Engineer (RHCE) on RHEL 8 and higher. With RHEL 8, Red Hat overhauled the RHCE program to focus on data-center automation with Ansible instead of advanced Linux topics, so the syllabus below is built around the RHCE EX294 exam objectives.
We start by setting up your own lab environment - hands-on practice is the only thing that makes Ansible click - then walk through inventory, playbooks, templates, roles, vaults, and finally a real-world AWS provisioning example. Every chapter is short, idempotent, and tested on RHEL 8+, Rocky Linux 9, and Ubuntu 22.04.
If you are new here, click Start the course and you will be taken to the first lesson. If you already know the basics, jump straight to the chapter you need - each lesson is also self-contained.
What you'll learn
- Stand up a complete Ansible control node + managed nodes lab from scratch
- Write idempotent playbooks, roles, and reusable Jinja2 templates
- Use loops, conditionals, handlers, blocks, and tags for real automation
- Encrypt secrets with Ansible Vault and securely provision AWS infrastructure
- Pass Red Hat Certified Engineer (RHCE EX294) automation tasks confidently
Prerequisites
- Comfortable with Linux command line (basic file, user, package management)
- A workstation running RHEL 8+, Rocky/CentOS Stream, or any modern Ubuntu
- SSH access to at least one managed node (a VM, container, or cloud instance)
- Basic knowledge of YAML (helpful but not required - covered in Chapter 4)
Syllabus
8 chapters · 27 lessons · ~231 min of reading
-
1 Getting Started 2 lessons
-
5 Writing Playbooks 2 lessons
-
6 Logic and Control Flow 7 lessons
- Part 17 Operators in Ansible 9 min read
- Part 18 Ansible conditional statements (when/until) 9 min read
- Part 19 Ansible handlers (notify pattern) 11 min read
- Part 20 Repeating tasks with Ansible loop 7 min read
- Part 21 Using Ansible tags 12 min read
- Part 22 Block / rescue / always (error recovery) 19 min read
- Part 23 include vs import modules 6 min read
-
8 Real-World Automation 2 lessons

