Mastering Ansible - From Beginner to Expert in Ansible
4.3 (1,146 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,041 students enrolled

Mastering Ansible - From Beginner to Expert in Ansible

Learn and Master Ansible to expedite Scalable Orchestration, DevOps, and Automation with the Complete Ansible Curriculum
4.3 (1,149 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,046 students enrolled
Created by James Spurin
Last updated 7/2020
English [Auto]
Current price: $86.99 Original price: $124.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 11 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn to install and configure Ansible.
  • Understand more about Ansible Modules, the structure of Ansible Playbooks, the creation and execution of Ansible playbooks, Ansible Facts, and Jinja2 Templating.
  • Ansible Playbook advanced topics: using built in modules, dynamic inventories, parallel looping, conditional execution, task delegation, magic variables, registering results, Ansible Vault, creating modules, and creating plugins.
  • Structuring Ansible playbooks: includes, roles, tags.
  • Use Ansible with cloud services and containers, AWS, and Docker.
  • Troubleshooting with Ansible
  • Using Ansible for validation and testing (and best practices).
Course content
Expand all 33 lectures 10:51:40
+ Installation and Configuration of Ansible
5 lectures 01:11:08
This video will give you an overview about the course.
Preview 04:10

This video talks about the variety of approaches for installing Ansible, each with their own advantages and disadvantages.

Ansible Requirements – Python, PIP, and Virtual Environments

This video talks about how learning Ansible is most effective when applied in real environment.

Ansible Course Environment Setup
This video shows us that there are a multitude of ways in which Ansible can be installed in Linux.
Ansible on Linux
These video talks about the verification of lab setup and/or OS based control host.
Validating Ansible Installation
+ Ansible Architecture and Design
8 lectures 03:54:19
Learn how Ansible inventories provide a multitude of configuration options.
Preview 30:01

Get to know how Ansible provides a plethora of modules as a batteries included framework.

Ansible Modules
See how YAML, yet another markup language, is used extensively within Ansible.

Through this video we will understand why Ansible playbooks are a principal function and are highly extensible.

Preview 27:17
Ansible provides extensive variable support through a variety of approaches.
Ansible Playbooks, Variables

Get to know how facts in Ansible provide detailed host context.

Ansible Playbooks, Facts
Learn how the Jinja2 language provides extensive control and templating functionality.
Templating with Jinja2

In this video, we will install and configure the Nginx webserver on both CentOS and Ubuntu.

Ansible Playbooks, Creating, and Executing
+ Ansible Playbooks, Advanced Topics
11 lectures 03:45:32
Get to know how modules in playbooks are a key factor for mastering Ansible.
Ansible Playbook Modules

Study dynamic inventories and see how they allow Ansible to scale to the environment.

Preview 22:37

See how register allows the capture of Ansible content, when acts as a conditional.

register and when

Ansible provides a multitude of ways of performing a loop conditional.


Discover how asynchronous and Parallel execution is effective for longer running tasks.

Asynchronous and Parallel
Get to know how required resources may not be available on a target system.
Task Delegation
In this video we will learn how Ansible provides magic variables.
Magic Variables

See how blocks allow grouping of tasks and failure/recovery.


See how the Ansible Vault allows sensitive information to be stored and used.

Using the Ansible Vault

Custom modules allow you to expand Ansible for further use.

Creating Custom Modules

Custom plugins provide extensive functionality to Ansible.

Creating Plugins
+ Structuring Ansible Playbooks
3 lectures 42:30

Through this video we will see how Ansible provides a variety of means for including and importing tasks and playbooks.

Using Includes and Imports

Tags provide an effective means of playbook reuse.

Using Tags

See how roles provide an effective means of structuring playbooks.

Using Roles
+ Using Ansible with Cloud Services and Containers
2 lectures 44:44
In this video we will see how Ansible provides extensive support for AWS with Ansible.
AWS with Ansible

Learn how Ansible provides modules to support Docker interaction.

Docker Support with Ansible
+ Other Ansible Resources and Areas
4 lectures 33:27
Discover the means and approaches for troubleshooting Ansible.
Preview 12:18
Validating that an Ansible release is fit for purposes.
Validating Testing with Ansible

Understand the Ansible best practices.

Best Practices with Ansible
Get to know about options and approaches for upgrading Ansible.
Upgrading Ansible
  • This video is for those who wish to learn and master Ansible to facilitate scalable orchestration, DevOps and Automation.

Ansible is a radically 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 of your systems inter-relate, rather than just managing one system at a time.

This professional video course on Ansible guides the user through a multitude of topics in order to understand and professionally master Ansible. It aims to help you master Ansible while tackling and learning multiple topics. It starts with Ansible's architecture and how to provide effective scalable automation. Then we move on to installing and configuring it with various platforms. Further, we look into Ansible modules and playbooks with YAML syntax and execute it. Next you will get to know about advanced Ansible playbooks, and even structure them. You will learn to use Ansible with cloud services and containers and provision it with AWS and Docker. Finally, you will master troubleshooting, validating, and testing with Ansible.

July/August 2020 Update:

Greetings to all of my past, present and future students, I hope you're all well especially given the global circumstances.  In the last week the course has been transferred from Packt to myself as the Author and I'll be personally addressing Q&A, reviews and updates going forward. 

I've updated section 1 with improvements in the process for setting up the Ansible lab environments used throughout the course.  Correspondingly, there is a new version of the ubuntu-c system that is used as the Ansible control host.  With both Ansible and Open Source software constantly evolving, these updates have been made with a view of providing in the interim, a consistent experience between the course content and the hands-on lab.

I am currently working on a major update to the entire course to reflect the latest version of Ansible and Python.  Please subscribe to my newsletter on the masteringansible course site and connect on LinkedIn to receive instant notifications when these updates become available.

All students will automatically receive the next major update as part of their enrolment.

About the Author :

James Spurin is an IT professional with over 15 years working in a variety of technology fields including internet technologies,  automation, software development, storage, and Unix administration. He  holds an MSc with Distinction in Computer Science, Software Engineering  from Liverpool University.

Professionally he has worked for a variety of major organizations including Dell EMC, Goldman Sachs, Nomura, and Virgin Internet. He is also an advisory board member for StorageOS, a container-based storage  solution. He is an active contributor to open source software and is the  creator and maintainer of XML Dataset, a Python library featured on the  awesome Python list for parsing XML data.

Who this course is for:
  • This video is for those who wish to learn and master Ansible to facilitate scalable orchestration, DevOps and Automation.