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
- 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.
- Introducing Ansible: Understand what Ansible is, why it matters, how it is put together, and get a working control node with automation content navigator.
- Implementing an Ansible Playbook: Build an inventory, configure Ansible for your project, and write and run playbooks with one or more plays.
- 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.
- Implementing Task Control: Manage task control, handlers and task errors in Ansible Playbooks.
- Deploying Files to Managed Hosts: Deploy, manage and adjust files on hosts managed by Ansible.
- Managing Complex Plays and Playbooks: Write playbooks for larger, more complex projects by selecting hosts precisely and splitting work into reusable files.
- Simplifying Playbooks with Roles and Collections: Use roles and content collections to develop playbooks more quickly and reuse code.
- Troubleshooting Ansible: Troubleshoot playbooks and managed hosts.
- Automating Linux Administration Tasks: Automate common Linux system administration tasks with Ansible.
- Comprehensive Review: Demonstrate the skills learned in this course by installing, optimizing and configuring Ansible to manage hosts.
- 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.