Ansible automation on RHEL 9

A hands-on path from your first playbook to automating real Linux administration. Every idea is drawn as a diagram, every exercise runs on a practice lab you build yourself, and every chapter ends with a quiz and a cheat sheet. Prepares you for the RHCE (EX294) exam.

Prepares you for Red Hat Certified Engineer (RHCE) (EX294).

Chapters

  1. Build Your Practice Lab: Build a sealed, classroom-style practice lab at home, with Rocky Linux 9 VMs on LXD using the classroom's names, addresses and users, so you can try every exercise in this guide.
  2. Introducing Ansible: Understand what Ansible is, why it matters, how it is put together, and get a working control node with automation content navigator.
  3. Implementing an Ansible Playbook: Build an inventory, configure Ansible for your project, and write and run playbooks with one or more plays.
  4. Managing Variables and Facts: Write playbooks that use variables to simplify management, protect secrets with Ansible Vault, and use facts to reference information about managed hosts.
  5. Implementing Task Control: Manage task control, handlers and task errors in Ansible Playbooks.
  6. Deploying Files to Managed Hosts: Deploy, manage and adjust files on hosts managed by Ansible.
  7. Managing Complex Plays and Playbooks: Write playbooks for larger, more complex projects by selecting hosts precisely and splitting work into reusable files.
  8. Simplifying Playbooks with Roles and Collections: Use roles and content collections to develop playbooks more quickly and reuse code.
  9. Troubleshooting Ansible: Troubleshoot playbooks and managed hosts.
  10. Automating Linux Administration Tasks: Automate common Linux system administration tasks with Ansible.
  11. Comprehensive Review: Demonstrate the skills learned in this course by installing, optimizing and configuring Ansible to manage hosts.
  12. Git and Development Containers: Keep automation projects in Git, and develop and run them with consistent tools from an Ansible development container and an execution environment.