Arrow Electronics, Inc.

Automating Red Hat Enterprise Linux 8 - Linux Admin 3

CODE: REH_RH8SA-WS3

LENGTH: 32 Hours (4 dage)

PRICE: kr 23.900,00

Objectives

An indepth look at Automating Red Hat Linux 8 Using Ansible, for the experienced Linux Administrator who wants to broaden their skills towards the Red Hat RHCE certification. Delegates should already have good system administration skills and be able to work comfortably at the Linux CLI.

Audience

This course is the final step in our 3 course path for administrators new to Red Hat 8 or CentOS 8, it is also ideal for those who wish to go on to become certified with the RHCSA exam.

Prerequisites

Attendance on Red Hat Linux Admin Part 1 and Part 2 or equivalent previous experience with the Red Hat Linux system is required.

Programme

What is Ansible?

An introduction to Ansible Configuration Management in CentOS 8 and where it is used.

 

Configuring and Using Ansible

In this module we look at creating inventory files, host lists, and managing the Ansible configuration, ansible.cfg including the use of read-only variables to secure the configuration location. With the basics in-place we can show using ad-hoc commands the power of Ansible.

 

Writing Ansible Playbooks

Playbooks are central to Ansible and both document the configuration as well as implementing it; in this module you will learn to format, create and execute Playbooks. Involving ourselves in this objective we will see how we can create and distribute SSH Key to allow for password-less access to managed hosts.

 

Gathering Ansible Facts and Using Variables

Variables allow a Playbook to be more flexible as we can cater for differences needed. Some of those variables we will create others will come from facts on a system, such as the IP Address of a Host.

 

Controlling Ansible Tasks

Using conditional and loops structures in tasks help provide for a more robust and efficient Playbook. Using both CentOS and Ubuntu based distributions we can easily show how this helps in targeting the correct task

 

Deploying Files and Templates

Looking at the copy, lineinfile and the template modules we are able to look at different ways to send data to managed node filesystems.

 

Managing Enterprise Projects

As we start to work with more hosts we can look at adjusting the parallelism of Ansible and the number of concurrent connections that can be made

 

Using Roles

Roles can help your Playbooks maintain their simplicity whist carrying out complex tasks. If we needed to deploy Apache and MariaDB we could create a role for each service and deploy both roles from the main Playbook.

 

Troubleshooting Ansible

We will look at ways to troubleshoot the Playbook and managed hosts so you can keep your systems running.

 

Practical Ansible

Working through many examples we will see both the how and the why of Ansible Configuration Management including configuring scheduled tasks and configuring AWS instances

Session Dates