Abstract
| Goal | Demonstrate skills learned in this course by installing, optimizing, and configuring Ansible for the management of managed hosts. |
| Sections |
|
| Labs |
|
After completing this section, you should be able to demonstrate proficiency with knowledge and skills learned in Red Hat Enterprise Linux Automation with Ansible.
Before beginning the comprehensive review for this course, you should be comfortable with the topics covered in each chapter.
Refer to earlier sections in the textbook for extra study.
Describe the fundamental concepts of Ansible and how it is used, and install Red Hat Ansible Automation Platform.
Describe the motivation for automating Linux administration tasks with Ansible, fundamental Ansible concepts, and Ansible's basic architecture.
Install Ansible on a control node and describe the distinction between community Ansible and Red Hat Ansible Automation Platform.
Create an inventory of managed hosts, write a simple Ansible Playbook, and run the playbook to automate tasks on those hosts.
Describe Ansible inventory concepts and manage a static inventory file.
Describe where Ansible configuration files are located, how Ansible selects them, and edit them to apply changes to default settings.
Run a single Ansible automation task using an ad hoc command and explain some use cases for ad hoc commands.
Write a basic Ansible Playbook and run it using the ansible-playbook command.
Write a playbook that uses multiple plays and per-play privilege escalation, and effectively use ansible-doc to learn how to use new modules to implement tasks for a play.
Write playbooks that use variables to simplify management of the playbook and facts to reference information about managed hosts.
Create and reference variables that affect particular hosts or host groups, the play, or the global environment, and describe how variable precedence works.
Encrypt sensitive variables using Ansible Vault, and run playbooks that reference Vault-encrypted variable files.
Reference data about managed hosts using Ansible facts, and configure custom facts on managed hosts.
Manage task control, handlers, and task errors in Ansible Playbooks.
Use loops to write efficient tasks and use conditions to control when to run tasks.
Implement a task that runs only when another task changes the managed host.
Control what happens when a task fails, and what conditions cause a task to fail.
Deploy, manage, and adjust files on hosts managed by Ansible.
Create, install, edit, and remove files on managed hosts, and manage permissions, ownership, SELinux context, and other characteristics of those files.
Deploy files to managed hosts that are customized by using Jinja2 templates.
Write playbooks for larger, more complex plays and playbooks.
Write sophisticated host patterns to efficiently select hosts for a play or ad hoc command.
Manage large playbooks by importing or including other playbooks or tasks from external files, either unconditionally or based on a conditional test.
Use Ansible roles to develop playbooks more quickly and to reuse Ansible code.
Describe what a role is, how it is structured, and how you can use it in a playbook.
Write playbooks that take advantage of Red Hat Enterprise Linux System Roles to perform standard operations.
Create a role in a playbook's project directory and run it as part of one of the plays in the playbook.
Select and retrieve roles from Ansible Galaxy or other sources such as a Git repository, and use them in your playbooks.
Obtain a set of related roles, supplementary modules, and other content from content collections, and use them in a playbook.
Troubleshoot playbooks and managed hosts.
Troubleshoot generic issues with a new playbook and repair them.
Troubleshoot failures on managed hosts when running a playbook.
Automate common Linux system administration tasks with Ansible.
Subscribe systems, configure software channels and repositories, enable module streams, and manage RPM packages on managed hosts.
Manage Linux users and groups, configure SSH, and modify Sudo configuration on managed hosts.
Manage service startup, schedule processes with at, cron, and systemd, reboot, and control the default boot target on managed hosts.
Partition storage devices, configure LVM, format partitions or logical volumes, mount file systems, and add swap files or spaces.
Configure network settings and name resolution on managed hosts, and collect network-related Ansible facts.