DevOps: Automate your Infrastructure using Ansible in 9Hours

Deploy applications the right way with the power of Ansible to fasten scalable orchestration, DevOps, and automation

4.25 (57 reviews)


9.5 hours


Nov 2018

Last Update
Regular Price

What you will learn

Understand more about Ansible Modules, the structure of Ansible Playbooks, the creation and execution of Ansible playbooks, Ansible Facts, and Jinja2 Templating

Manage multiple servers from a single Ansible environment with different and overlapping configuration

Create a rapid reliable application deployment

Build custom Ansible roles and modules

Design every step in the DevOps pipeline, from code check-in to deployment

Deploy and configure your own Git repository server to serve as the basis for your DevOps pipeline

Build virtual machines to automate testing and deploying your applications

Use Ansible with cloud services and containers, such as AWS, Jenkins, Docker, and Kubernetes


Ansible is a simple IT automation engine, that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all your systems interrelate, rather than managing one system at a time.

This comprehensive 2-in-1 course is comprehensive, hands-on course with discovery of orchestration, DevOps and automation using Ansible. Explore Ansible with cloud services and its AWS provisioning. Understand infrastructure automation and decide what makes Ansible a good choice for your projects. Get started with Ansible through playbooks and organize the automation of infrastructure tasks by building and using roles from Ansible Galaxy. Use the best DevOps practices to automate your building and testing environments to push your software into production.

This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Hands-On Infrastructure Automation with Ansible, covers practical course for beginners to Ansible and deployment of applications the right way. Use Ansible to automate deployment so you can quickly and reliably run and upgrade your applications. Infrastructure Automation results in cost reduction, productivity, availability, reliability, and performance. Gain real-world experience on your own deployments.

In the second course, Hands-On DevOps with Ansible, you will learn how a DevOps pipeline can speed up your software development. You will use DevOps practices to automate your building and testing environments to push software into production. You will use Ansible to automate your DevOps pipeline. Whether you test and deploy applications on-premise or in the cloud, and whether you build full systems or containers with Docker and Kubernetes, you will be able to develop and deploy reliable applications with speed using Ansible.

By the end of this course, you’ll be able to create and maintain Ansible playbooks, roles, and custom modules, enabling you to make full use of Ansible as part of a DevOps or automation strategy.

Meet Your Expert(s):

We have the best work of the following esteemed author(s) to ensure that your learning journey is smooth:

  • Alan Hohn is a Software Architect who primarily works with distributed Java. He has had a lot of experience re-architecting embedded systems and in combining embedded and enterprise approaches. Lately he has been doing quite a bit of work with virtualization, DevOps, and cloud technologies. Over the past several years, he has had the opportunity to teach courses on Java. His role and interest also mean that he frequently tries out new libraries and new approaches. His hope is that some of that material will be as useful to others as he has occasionally found it. He is employed by Lockheed Martin Mission Systems and Training and his personal blog is called Variegated.


DevOps: Automate your Infrastructure using Ansible in 9Hours
DevOps: Automate your Infrastructure using Ansible in 9Hours
DevOps: Automate your Infrastructure using Ansible in 9Hours
DevOps: Automate your Infrastructure using Ansible in 9Hours


Hands-on Infrastructure Automation with Ansible

The Course Overview

Ansible Demo

DevOps and Immutable Infrastructure

Ansible As a Choice for DevOps

Ansible Install and Remote Management

Running Ansible Commands

Ansible Inventory File

Introduction to Playbooks

Using Tasks and Handlers

Configuring Systems through the Inventory

Creating Inventory Groups

Controlling Playbook Runs

Create and Use Roles

Applying Commonly Used Modules

Getting Roles from Ansible Galaxy

Using Role Handlers, Files, and Templates

Role Dependencies

Writing Out Files from a Template

Template Flow Control

Repeated Configuration Content

Using Defaults and Filters

Defining Reusable Blocks and Inheritance

Using Variables for All Roles

Exploring Ansible Facts

Applying Variables to Groups and Hosts

Using Variables to Control Tasks

Registering Results in Variables

Using Lists and Dictionaries in Tasks

Ansible Vault Purpose

Encrypt and Decrypt Files

Create Vault Password Files

Encrypting Files for Delivery

Ansible Module Structure

Module Arguments and Results

Module Idempotence

Module Check Mode and Module Testing

Module Documentation and Metadata

Ansible Docker Connector

Ansible with Vagrant

Ansible and Vagrant Custom Variables

Ansible and Packer

Using Packer and Ansible to Build Docker Images

Test Your Knowledge

Hands-On DevOps with Ansible

The Course Overview

Understanding the Complete Ansible DevOps Pipeline

The Need for DevOps

Automating the Automation

Taking Software from Artifacts to Deployment

Using Packer with Ansible and AWS

Writing and Using Ansible Roles

Using Ansible Templates and Variables

Working with Ansible Vault

Deploying to AWS Production

Ansible and AWS Rolling Updates

Integrating Ansible and Vagrant

Virtual Testing Using Vagrant

Virtualized Test with Ansible and AWS

Run Tests Using Ansible and Jenkins

Building Docker Containers with Ansible

Running Docker Containers

Using Ansible Docker Push

Docker Rolling Updates

Integration Testing Using Docker

Connecting Ansible to Kubernetes

Understanding Kubernetes Deployments

Integration Testing with Kubernetes and Ansible

Using Ansible to Deploy to Kubernetes

Kubernetes Rolling Updates

Test Your Knowledge


Kingston2 July 2020

Alan knows the course material, and is extremely knowledgeable about the subject. He can use a very clear logic to explain every technical details of what he is teaching. Maybe because I am a real beginner of this subject, some places I felt he assumes we already know, so he overlooked introduce something basic details. One example: he didn't mention (or perhaps I missed when he explained) that he actually have a source code to be downloaded for (the big) section 1, so at the beginning I struggled a bit to follow what he is saying, since I thought I have to spend time to write down, in order to understand what he is teaching better. After the lesson 16, I found back on lesson 1, there is a resources available for me to download. Also, I spent some time, searching Google, to find out a way to upload his resource code into Amazon AWS ec2 instance. If Alan can give a brief introduction about it, it will help his students save some time, searching the solution by ourselves. In addition, I still don't see the code for example 1, 2, 3 on lesson 17 on the resources uploaded. His lectures regarding to Ansible Roles, and Ansible Vault encryption/decryption was illustrated extremely well, and I feel learned a lot from these topics. I hoped he could tell students how many AWS ec2 instances will need to be prepared in order for this course, right at the beginning of the few lessons. On lesson 2, he mentioned we need two: one for dotcms server, one for postgresql DB, and need an Ansible Controller outside of AWS (later I've found he actually uses one ubuntu AWS EC2 instance as Ansible Controller). After sever lessons, I've found he uses web01, web02, web03 for some demo, and later, he mentioned ubuntu and centos servers to run some test... On Lesson 27: Registering Results in Variables, video time (05:11), I don't see What's the content of the following files under ~/workspaces/dotcms? playbook.yaml --vault-password-file .vault-pass.txt "volume_mount_path" -- I didn't know Vault until after studied Ansible Vault on lesson 29 to 32. On lesson 28, the first 5 minutes were talking about codes under "/Section 1_Hands-On Infrastructure Automation with Ansible/roles/volume, starting at video time (5:00), I got lost of where were we (at the beginning), so I have to use Linux find command, found the code section jumped to "/Section 1_Hands-On Infrastructure Automation with Ansible/roles/nfs". I got lost for a while, thought Alan was still taking something under "volume" tree, but couldn't find the code he was bringing on the slide. (this was relatively minor inconvenience). Above all, I love this course, and believe Alan is an excellent instructor. Thank you for the very clear explanation to all the subjects that's new to me. Compare with another Ansible courses I have just finished, I feel that I can learn much more from this course.

Peter14 June 2019

The Hands-on Infrastructure Automation was the best course so far going into some of the more advanced pieces of Ansible, the second section has given me some interesting code snippets for use, but if you do not know the subject area then you will get a bit lost.


Udemy ID


Course created date


Course Indexed date
Course Submitted by