Skip to content
  • Sign In
  • Try Now
View all events
Ansible

Ansible in 4 Hours

Published by Pearson

Intermediate content levelIntermediate

Get started with Ansible

  • Learn Ansible quickly through core training and real-world labs
  • Learn how to use Ansible modules to manage any IT asset
  • Learn how to write playbooks to automate complex configuration tasks

Ansible is the leading solution for configuration management. It lets you automate assets in an environment --including Linux, Windows, Cloud, Network Devices and more – and works as an application-deployment tool enabling infrastructure as code. Ansible in 4 Hours walks you through the basics steps to learning and using Ansible in just a short time. We’ll begin with understanding Ansible and set up a basic Ansible environment. We will then work with modules and ad-hoc commands, learn to use Ansible playbooks, use variables and finally use control structures.

All sections contain real-world hands-on exercises so you can see Ansible in action and learn through clear demo-led instruction. You will see how to use Ansible in DevOps environments to deploy and manage software and configurations on different assets, as well as how to deploy software more efficiently. Ansible has rapidly evolved to one of the most important solutions for configuration management and this course teaches you how to use it in heterogeneous environments and on multiple operating systems.

What you’ll learn and how you can apply it

  • Understanding Ansible
  • Setting up an environment for Ansible management
  • Working with ad-hoc commands
  • Understanding Ansible modules
  • Automating configuration deployments using Ansible playbooks
  • Using Variables and Facts
  • Using Control Structures

This live event is for you because...

  • This Training provides candidates with the basic skills that are required for working with Ansible
  • You would like to start to learn the skills needed to successfully study for and pass the Red Hat RHCE exam.

Prerequisites

  • Basic knowledge or experience with Linux is recommended

Course Set-up

To work through the labs in this course, the course participant needs to install and configure his own lab environment, consisting of 3 virtual machines running a recent version of Red Hat Enterprise Linux or similar (CentOS Stream, Rocky Linux). Instructions on how to set up a lab environment can be found at: https://learning.oreilly.com/videos/linux-fundamentals/9780135560396/9780135560396-LFUN_01_01_02

Recommended Preparation

Recommended Follow-up

Schedule

The time frames are only estimates and may vary according to how the class is progressing.

Segment 1: Understanding Ansible (20 minutes)

  • What is Ansible
  • Common scenarios for using Ansible

Segment 2: Setting up Ansible (40 minutes)

  • Setting up a basic Ansible environment
  • Using SSH, sudo and Ansible configurations
  • Using inventory file

Break (10 minutes)

Segment 3: Working with modules and Ad-hoc Commands (40 minutes)

  • Using Ad-hoc commands to run specific tasks on managed host

Break (10 minutes)

Segment 4: Using Ansible Playbooks (40 minutes)

  • Writing an Ansible playbook
  • Using common components: facts, tasks, handlers, and inclusions

Break (10 minutes)

Segment 5: Using Variables (35 minutes)

  • Use variables to make Ansible playbooks more flexible

Segment 6: Using Control Structures (35 minutes)

  • Using control structures of organize Ansible in a more efficient way

Your Instructor

  • Sander van Vugt

    Sander van Vugt has many years of experience working with, writing about, and teaching Linux and Open Source topics. He is the author of the best-selling Red Hat RHCSA Cert Guide and the Red Hat RHCSA Complete Video Course along with many other titles on topics that include RHCE, Bash, Kubernetes, Ansible and more. Sander also works as a Linux instructor, teaching on-site and online classes for customers around the world.

    linkedinXlinksearch