O'Reilly logo
live online training icon Live Online training

Ansible in 3 Hours

Get started with Ansible

Sander van Vugt

Ansible is a configuration management solution that can be used in DevOps environments to deploy and manage software and configurations on different assets in the data center. Using Ansible makes deploying software more efficient and allows companies to implement an easy-to-use standard for managing any IT assets. Ansible has rapidly evolved to one of the most important solutions for configuration management and can be used in heterogeneous environments and on multiple operating systems

What you'll learn-and how you can apply it

  • Ansible basics
  • Setting up an environment for Ansible management
  • Working with ad-hoc commands
  • Understanding Ansible modules
  • Automating configuration deployments using Ansible playbooks
  • Using Jinja2 templates in an Ansible environment
  • Using Ansible beyond Linux

This training course is for you because...

  • This Training provides candidates with the basic skills that are required for
    working with Ansible


  • Basic knowledge or experience with Linux is recommended

Downloads Needed in Advance

To follow along with the hands-on parts of this course, you are invited to create a new (virtual) machine before the start of the course. Build it according to the following specifications: 2 virtual machines with CentOS 1706. 4 GB of RAM on one machine, 1GB of RAM on the other one and a minimum of 10GB of available disk space.

Recommended Preparation:

Beginning Linux System Administration (video)

Common Misunderstandings

  • Many people think that Ansible only used in big IT environments. That's not so. Using
    Ansible can also be beneficial if just a few machines need to be managed
  • Some think that learning Ansible is difficult, but anyone can run their first Ansible
    deployment within a matter of minutes

About your instructor

  • Sander van Vugt started working with Linux in 1992. He wrote his first book about Linux in 1999, and up to date has completed 62 different books on Linux related topics, including the best selling RHCSA/RHCE 7 Cert Guide. Sander is the author of over 20 Linux related video courses. He also works as a Linux instructor, teaching on-site and on-line classes for customers around the world.


The timeframes are only estimates and may vary according to how the class is progressing

Segment 1: Setting up an Environment for using Ansible (40 minutes)
- Students will learn how to set up SSH, sudo, Ansible configuration as well as an
Inventory file for working with Ansible

Segment 2: Working with Ad-hoc Commands (20 minutes)
- Students will learn how to use Ad-hoc commands to run specific tasks on managed host

Segment 3: Understanding Ansible Modules (20 minutes)
- Students will learn how to use Ansible modules, including finding the appropriate
documentation about available modules

Break (10 minutes)

Segment 4: Using Ansible Playbooks (60 minutes)
- Students will learn how to write an Ansible playbook, using some of the most common
components, inclusing tasks, handlers, variables and includes

Break (10 minutes)

Segment 5: Using Jinja2 Templates (20 minutes)
- Students will learn how Jinja2 templates can be used to dynamically configure data on

Segment 6: Using Ansible Beyond Linux (10 minutes)
- Students will learn what is needed to manage network devices, Windows, and cloud
environments using Ansible