RHCE in Ansible Exercises

Strengthen RHCE in Ansible readiness with hands-on exercises and challenges that map to common exam domains. Apply theory to realistic tasks in navigator workflow, inventory design, managed-node configuration, playbook authoring, roles and collections, Vault and templates, and RHCSA task automation. This collection will grow alongside dedicated practice exams to test proficiency under performance-based conditions.

Ansible Cron Module

Ansible Cron Module

Welcome to the Ansible Cron Module Lab! In this lab, you will learn how to automate the scheduling of tasks using the Ansible Cron module. The lab consists of several steps, each building upon the previous one to gradually increase the complexity of managing cron jobs with Ansible. By the end of this lab, you will have a solid understanding of how to use the Ansible Cron module for scheduling tasks.
LabRHCE in Ansible Training
Install Ansible on Red Hat Enterprise Linux

Install Ansible on Red Hat Enterprise Linux

In this lab, you will learn to install Ansible Core on a Red Hat Enterprise Linux (RHEL) system using the dnf package manager, verify the installation, and start using Ansible for automation tasks.
LabRHCE in Ansible Training
Implement an Ansible Playbook on RHEL

Implement an Ansible Playbook on RHEL

In this lab, you will implement a complete Ansible playbook to deploy an Apache web server on a RHEL system. You will create an inventory file, configure the Ansible environment, write a multi-task playbook to install Apache, deploy a web page, configure the firewall, and test the deployment.
LabRHCE in Ansible Training
Installation and Inventory

Installation and Inventory

In this lab, you will learn how to install Ansible on Ubuntu, generate SSH keys for authentication, and configure your first static inventory file to manage the localhost.
LabRHCE in Ansible Training
Organizing with Roles

Organizing with Roles

In this lab, you will learn how to scale up your Ansible automation by refactoring playbooks into structured Roles. You will initialize a role using Ansible Galaxy, define tasks within the role, and reference it in a master playbook.
LabRHCE in Ansible Training
Variables and Templates

Variables and Templates

In this lab, you will learn how to use Ansible variables and Jinja2 templates to create dynamic configuration files and deploy them to a web server.
LabRHCE in Ansible Training