0345 4506120

Linux Automation with Ansible

This course introduces the delegate to the main concepts of Linux Ansible Automation.

Although this Linux Automation with Ansible course is based on the Red Hat/CentOS Linux distribution, the delegate should be able to apply the concepts covered on this course to other Linux based distributions.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Who will the Course Benefit?

Linux System Administrators, DevOps teams, Managers and systems support personnel who need to automate tasks and maintain server configurations from a single point of control within an enterprise environment.

  Reset

Learning Objectives

To provide the skills needed to use Ansible for the purpose of automation, configuration and management.

The delegate will learn and acquire skills as follows:

  • Install and configure Ansible
  • Configure clients for use with Ansible
  • Create and run ad-hoc Ansible commands
  • Understand the basics of the YAML Language
  • Create and run Ansible Playbooks
  • Create and use Variable both internal and external
  • Understand and use Ansible facts
  • Create and use Tasks
  • Create and Use Roles
  • Secure Data using Ansible Vault
  • Manage files using Ansible
  • Create and Manage large projects
  • Linux Administration using Ansible
  • Troubleshooting Ansible problems

Pre-Requisites

Delegates attending this Linux Automation with Ansible course should have experience of administering Linux in an Enterprise environment to the level covered in the pre-requisite courses.

The requirements for this course can be met by either of the pre-requisite courses listed.

Pre-Requisite Courses

  • Administering Red Hat Linux 7 - Part 1
  • Linux System Administration (LPI & CompTIA)
  • SUSE Linux System Administration
  • Oracle Linux 7 Administration

Course Content

Course Contents - DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: WHAT IS ANSIBLE

  • What is Ansible
  • No database
  • No file residue
  • Overview of Ansible Tower

Session 2: DEPLOYING ANSIBLE

  • Installing Ansible control system
  • Configure Ansible user
  • Ansible configuration
  • Inventory

Session 3: CONFIGURE ANSIBLE CLIENT SYSTEM

  • Create Ansible user
  • Configure ssh secure remote access using Keys
  • Restrict ssh access
  • Configure privilege escalation on managed client

Session 4: CREATING AND RUNNING AD-HOC ANSIBLE COMMANDS

  • What are AD-Hoc commands
  • Running Ad-Hoc commands
  • Understanding the output from Ad-Hoc commands
  • Static Vs Dynamic Inventories

Course Contents - DAY 2

Session 5: YAML BASICS

  • What is YAML
  • YAML Syntax
  • To indent or not to indent
  • Examples of YAML for Ansible

Session 6: PLAYBOOKS AND TASKS

  • What are Playbooks
  • Creating a simple Playbook
  • Creating Tasks
  • Running the Playbook
  • Using Common Modules
  • Using Conditions
  • Error Handling
  • Safety of sensitive data using Ansible vault

Session 7: CREATING AND USING VARIABLES

  • Ansible variable Syntax
  • Internal variable
  • External variables
  • Adding variables to Playbooks

Course Contents - DAY 3

Session 8: USING ANSIBLE FACTS

  • What are Facts?
  • Adding simple facts to a Playbook
  • Multiple facts to the same Playbook

Session 9: CREATING AND USE ANSIBLE ROLES

  • What is a role?
  • Creating a role using ansible-galaxy
  • Configuring the Role
  • Adding the role to a playbook
  • Checking the Role works

Session 10: WORKING WITH FILES USING ANSIBLE

  • File management at a distance
  • Basic file operations
  • Using File Templates
  • Create and deploy a motd template enterprise wide

Course Contents - DAY 4

Session 11: CREATE AND MANAGE LARGE PROJECTS

  • How large is Large
  • Package Installations
  • Using Mirrors
  • Forking

Session 12: TROUBLE SHOOTING ANSIBLE PROBLEMS

  • Syntax Errors
  • Authentication Errors
  • Client system permission errors

Session 13: LINUX SYSTEMS ADMINISTRATION USING ANSIBLE

  • Software packages and repositories
  • Services
  • Firewall rules
  • File systems
  • Storage devices
  • File content
  • Archiving
  • Scheduled tasks
  • Security
  • Users and groups

Session 14: OVERVIEW OF RED HAT ANSIBLE TOWER

  • What is Ansible Tower
  • Benefits of Ansible Tower

Exams & Certification

This course together with the Administering Red Hat Linux 8 - Part 1 and Administering Red Hat Linux 8 - Part 2 courses will aid the delegate in their preparation for the following exams:

  • Red Hat Certified Specialist in Ansible Automation: EX407

Attending this course will help delegates gain many of the skills and product knowledge requirements as outlined in the exam objectives. Studying this course and its associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The Red Hat website lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the requested service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Virtual Classroom

Virtual classrooms provide all the benefits of attending a classroom course without the need to arrange travel and accomodation. Please note that virtual courses are attended in real-time, commencing on a specified date.

Virtual Course Dates

Our Customers Include