O'Reilly logo
live online training icon Live Online training

Red Hat Certified Engineer (RHCE) EX294 Crash Course: Red Hat Ansible

Red Hat Ansible Automation

Sander van Vugt

The RHCE exam is undergoing a major evolution. The new RHCE exam will now focus more on automation to better address automation needs for the Linux and Red Hat communities. Red Hat Certified Systems Engineer (RHCE) has established itself as one of the most appreciated Linux certifications. With the release of Red Hat Enterprise Linux 8 and the redefined focus on Managing Systems with Ansible this exam has evolved into the most important method to prove your skills as a Linux and Red Hat engineer. In this crash course candidates will learn all that is needed to pass the newly-updated RHCE exam.

What you'll learn-and how you can apply it

  • Setting up Ansible
  • Using Ad Hoc Commands
  • Getting Started with Playbook
  • Working with Variables and Facts
  • Managing Task Control
  • Working with Templates
  • Managing Ansible Roles
  • Managing Ansible in Large Environments
  • Troubleshooting Ansible
  • Managing Software with Ansible
  • Managing Users
  • Managing Processes and Tasks
  • Managing Storage
  • Managing Networking
  • Sample Exam

This training course is for you because...

  • This training provides candidates with skills that are required for passing the RHCE exam
  • In this training you'll learn how to work with Ansible--in-depth and with lots of examples


  • If an attendee has no experience with Linux, it helps to have RHCSA knowledge, which can be found in the Red Hat Certified System Administrator (RHCSA), 3/e
  • Course participants should have working knowledge of Linux. It is recommended to have Linux knowledge at RHCSA level, but this is not required.

Materials, downloads, or Supplemental Content needed in advance:

To work through the labs in this course, the participant needs to install a simple lab environment. Before start of the course, the participants needs to install 3 virtual machines, using the "Minimal Setup" installation pattern and either RHEL 8 or Centos 8. Name the machines as follows. The listed IP addresses are suggested IP addresses, make sure they meet your configuration and change accordingly if needed. Also ensure that all virtual machines have Internet access:

  • control.example.com, IP address
  • ansible1.example.com, IP address
  • ansible2.example.com, IP address

Also ensure that on all machines a user with the name ansible exists.

About your instructor

  • Sander van Vugt started working with Linux in 1992. He wrote his first book about Linux in 1999, and up to date has completed 62 different books on Linux related topics, including the best selling RHCSA/RHCE 7 Cert Guide. Sander is the author of over 20 Linux related video courses. He also works as a Linux instructor, teaching on-site and on-line classes for customers around the world.


The timeframes are only estimates and may vary according to how the class is progressing

Day 1:

Segment 1: Introduction (20 minutes)

  • Lecture: What we are going to do, and how we are going to do it in this course

Segment 2: Setting up an Ansible Managed Environment (60 minutes)

  • Lecture: Installing Ansible
  • Lecture: Setting up sudo and SSH
  • Lecture: Setting up Inventory
  • Lecture: Managing Ansible Configuration Files

Segment 3: Using Ad-Hoc Commands (50 minutes)

  • Lecture: Using Ad-hoc Commands
  • Lecture: Working with Modules

Segment 4: Getting Started with Playbooks (40 minutes)

  • Lecture: Understanding Playbook Syntax
  • Lecture: Testing and Running Playbooks

Segment 5: Working with Variables and Facts part 1 (60 minutes)

  • Lecture: Understanding and Using Variables
  • Lecture: Managing Variable Precedence

Segment 6: Day 1 Homework Lab Explanation (10 minutes)

  • Lecture: Lab Explanation

Day 2:

Segment 7: Day 1 Homework Lab Discussion (20 minutes)

  • Lecture: Lab Walk-through

Segment 8: Working with Variables and Facts part 2 (50 minutes)

  • Lecture: Using Vault
  • Lecture: Using Facts

Segment 9: Using Task Control (80 minutes)

  • Lecture: Using Loops and Items
  • Lecture: Using Conditionals
  • Lecture: Using Handlers and Blocks
  • Lecture: Dealing with Failure

Segment 10: Deploying Files with Templates (40 minutes)

  • Lecture: Using Jinja2 Templates
  • Lecture: Using Control Structures in Jinja2

Segment 11: Using Ansible Roles (60 minutes)

  • Lecture: Using Galaxy Roles
  • Lecture: Creating Custom Roles
  • Lecture: Managing Order of Execution

Segment 12: Day 2 Homework Lab Assignment (10 minutes)

  • Lecture: Lab Explanation

Day 3

Segment 13: Day 2 Homework Lab Discussion (20 minutes)

  • Lecture: Lab Walk-through

Segment 14: Using RHEL System Roles (40 minutes)

  • Lecture: Using the SELinux System Role
  • Lecture: Using the Timesync System Role

Segment 15: Using Ansible in Large Environments (50 minutes)

  • Lecture: Ansible Project Best Practices
  • Lecture: Configuring Parallelism

Segment 16: Troubleshooting Ansible (20 minutes)

  • Lecture: Analyzing Errors
  • Lecture: Using Modules for Troubleshooting and Testing

Segment 17: Advanced Ansible Usage Examples (50 minutes)

  • Lecture: Managing Software
  • Lecture: Managing Users
  • Lecture: Managing Storage
  • Lecture: Managing Networking

Segment 18: Exam Tips and Q&A (80 minutes)

  • Lecture: Exam Tips
  • Q&A


O’Reilly Media, Pearson IT Certification, and Sander Van Vugt have no affiliation with Red Hat, Inc. The RED HAT and RHCSA trademarks are used for identification purposes only and are not intended to indicate affiliation with or approval by Red Hat, Inc.