Ansible Essentials with Hands-on Labs

Learn Ansible for DevOps & Automation. Start from the basics and go all the way to creating your own playbooks & roles!

4.38 (426 reviews)
Udemy
platform
English
language
Development Tools
category
instructor
Ansible Essentials with Hands-on Labs
3,896
students
6.5 hours
content
Jan 2024
last update
$74.99
regular price

What you will learn

Configuration management with Ansible

Install and configure Ansible Automation Engine on a control node

Run ad-hoc automation tasks from the command line

Write Ansible playbooks to automate multiple system administration tasks on managed hosts

Work with Ansible in conjunction with Vagrant and Virtualbox in a DevOps environment

Parameterize Ansible playbooks using variables and facts

Ansible variable precedence system and overriding

Use Jinja2 templating to enable dynamic expressions and access to variables

Create Ansible playbooks/roles to deploy a 3-tier web application

Configure Ansible roles with tasks, handlers, files, templates, dependencies and variables

Be able to create Ansible playbooks/roles to deploy a 3-tier web application

Why take this course?

Ansible is a simple to understand, simple to adopt, simple to use IT configuration management and automation tool. With the Ansible Essentials course, you can start from the basics and go all the way to creating your own playbooks and roles with Ansible.


This is a focused course designed to rapidly get you up to speed on using Ansible automation engine in real life. As an IT professional, you'll develop a solid understanding of Ansible and will be able to apply it to daily automation and configuration management tasks.


Ansible Essentials course includes lots of examples and hands-on labs and aims at providing students with first-hand experience with course concepts. You can follow along the course by setting up your own lab environment. A Vagrant environment is used throughout the course, and in the appendix, you'll find detailed lectures showing you how to set up one for yourself.


Each lecture introduces a new Ansible concept. Concepts are first explained, and then relevant examples are provided. Some of them are also demoed in the lab environment showing you how they can be applied to playbooks. And finally, we apply the concept to our LAMP Stack playbooks.


Course follows a progressive path that mirrors a real-world approach to automation. It's divided into five sections, starting with the architectural overview and foundational concepts. In section 2, we'll install Ansible automation engine and learn about inventory, which is the first thing we need to get started automating tasks with Ansible. We'll learn ad-hoc commands and also discover some of Ansible's commonly used modules in section 3.


Then we'll move on to ansible playbooks. Playbooks let us use fully-fledged configuration management and orchestration capabilities of Ansible. Ansible playbooks are written in YAML, so before diving into the details of playbooks, we'll do a YAML overview. Then, we'll learn about playbook basics, including playbook structure, idempotency, and tasks. We'll learn how to run a playbook, check its syntax, and control its output with verbose.


Then we'll start building our 3 tier web application. In each lecture, we'll learn one or more ansible features, and we'll apply them to our project. In this part of the course, you'll learn about handlers, Jinja2 templating, loops, variables, error handling, and much more. At the end of this section, you'll have prepared playbooks that can deploy a fully functional multi-node LAMP stack on your machines.


In section 5, we'll cover how to organize playbooks more effectively where you'll learn about imports, includes, and roles. We'll refactor the playbooks into roles and make them easy to share and reuse.


This course is based on Red Hat® Ansible Engine 2.8 and CentOS Linux 7.7. By following along the course, you'll learn how to set up a 3-tiered web application environment that leverages Apache2, Python, and MySQL on CentOS machines.

Content

Introduction

Introduction to Ansible Essentials Course
Course Overview
Important, please read!

Ansible Foundations & Installation

Ansible Architecture
Course FAQ
Installing Ansible
Inventory
Configuration File (ansible.cfg)

Ansible Ad-Hoc Commands

Introduction to Ansible Ad-Hoc Commands
Ad-Hoc Command Examples
Setup Module & Filtering
Host Selection Patterns

Ansible Playbooks

YAML Overview
Playbook Structure
Tasks & Idempotency
First Playbook
Syntax Check & Dry Run
Playbook Execution
Host Facts
Yum Module
Service Module
Copy Module
Loops
Variables-I
Variables-II
Variables-III
Variable Precedence in Ansible
Lineinfile Module
Apache Virtual Host Configuration
Handlers
Error Handling-I
Error Handling-II: Register & When
Error Handling-III: Ignore Errors
Blocks
Git Module
Templating I: Loops & Conditionals
Templating II- Filters & Tests
Templating III: HAProxy Configuration
Templating IV: HAProxy Configuration
Templating V: HAProxy Configuration
Mysql_db & mysql_user
Common Tasks
Firewalld Module
Tags

Creating Reusable Playbooks

Including & Importing
Site.yml
Roles
Role Structure
Tasks & Handlers
Files & Templates
Role Variables: Defaults & Vars
Meta & Tests
Role Execution

Appendix- Environment Setup

About Vagrant and Lab Environment
Vagrant Installation
Environment Setup
Creating a non-root user for Ansible
Setting up SSH Authentication

Screenshots

Ansible Essentials with Hands-on Labs - Screenshot_01Ansible Essentials with Hands-on Labs - Screenshot_02Ansible Essentials with Hands-on Labs - Screenshot_03Ansible Essentials with Hands-on Labs - Screenshot_04

Reviews

Tiberiu
August 1, 2023
It was a good experience overall, I guess the only downside for me was the jump from disorganized playbooks to roles. I know this is more related to preferences on my side, but I guess working from rules (which is a much more organized way of using Ansible) towards separate playbooks and such.
Alena
February 18, 2023
Very understandable English. The course runs from complete basics to advanced. He will show everything in great detail, including installing the test environment he uses Vagrant in, so you'll learn something about it as well. There are plenty of examples that he goes through in detail and you can try them out on the aforementioned test environment.
Dean
October 16, 2022
Ugur does a great job starting slowly and then he pulls it all together as you get close to the end. Teaching style make it easy to understand the subject.
Ron
July 9, 2022
WOW! this is an amazing course on ansible. The instructor is very experienced and gives you what you need to learn ansible for real life. Thank you!
Seçil
March 2, 2022
It was very enjoyable and instructive course. I have spend lots of time when I was installing the course environment but it was great experience. Vagrant is also very useful tool. Thank you for introducing us. Maybe there could be more examples or exercises for us to practice more. Thank you for this great course.
Abdelouahed
May 12, 2021
Concise course contents for network automation with Ansible. New perspectives under networking are opened to us.
Christopher
March 15, 2021
Very enjoyable and knowledge giving course, moving at a pace where you have time to process information but at a speed where you won't find yourself bored listening to.
Scott
February 16, 2021
The labs are vagrant centric. This muddies the waters a bit - especially if you don't know vagrant. I feel this course would be better if it was just straight up how to learn/use ansible .
Rossella
February 7, 2021
As a beginner , i found the course very informative and useful. I have learned so much from this course, Ugur 's explanations and instructions are very clear. He is also very involved in the Q & A , answering you within 24 hrs. I will definitely recommend this course as a beginner.
Dummy
January 28, 2021
cocok diterangkan secara menyeluruh pada course kali ini install ansible jadi di jelaskan ada beberapa metode yang bisa kita gunakan untuk install ansible
John
December 9, 2020
I have learned A LOT already! The information on Vagrant, setting up "sudo" user accounts, enabling ssh password authentication has been wonderful. A great review! I'll actually need to understand all of this for my next job!
Mohammad
May 15, 2020
too fast and too brief.. had to watch some sections 2-3 times and search the net for other resources to fully understand the subject. The source codes are placed in GitHub which is very unprofessional. most other courses conveniently put resources within section for easy download. in general its good if you have some background knowledge on ansible and you want to recap.
Prem
April 25, 2020
Training was precise and manageable .. Neat explanation on the topics and very useful. Appreciated !!!
Akula
April 21, 2020
awesome explanation, getting more interest to complete the tasks he did during the lectures and other google examples. Thanks a lot.
Maksym
March 22, 2020
Some statement should be revised as no loop in version ansible 2.4.2.0 . No loop detective more supported and ansible-facts also

Coupons

DateDiscountStatus
10/26/2019100% OFF
expired

Charts

Price

Ansible Essentials with Hands-on Labs - Price chart

Rating

Ansible Essentials with Hands-on Labs - Ratings chart

Enrollment distribution

Ansible Essentials with Hands-on Labs - Distribution chart
2148216
udemy ID
1/13/2019
course created date
10/26/2019
course indexed date
Bot
course submited by