4.18 out of 5
4.18
188 reviews on Udemy

Ultimate Ansible Bootcamp by School of Devops®

Unofficial Guide to EX407 Redhat Certified Specialist in Ansible Automation
Instructor:
Gourav Shah
1,489 students enrolled
English [Auto-generated]
What is ansible, why its needed and how it works
How to configure ansible and setup static/dynamic inventories
Ad hoc server management, running jobs in parallel
Managing systems entities using ansible Modules
Writing Playbooks to define the state of infrastructure as a code
Creating modular, reusable code with Roles
Creating dynmic code with vars and templates
Using Ansible Galaxy
Encrypting sensitive data with Vault
Service Discovery and managing Multiple Environments
Application Deployment Strategies, Rolling Updates

Ansible is set to be the standard in the world of IT Infrastrcuture Management. It’s a rare combination of simplicity meeting sophistication. Its core principle being simple is reflected in all its design choices such as agentless setup, small footprint, push model, YAML as a language to define infrastructure state etc. Its easy to setup, easy to write code with, easy to extend while writing custom modules. At the same time it offers everything a IT Systems, Networks or a Oprations/Devops person needs. It allows you to do all of following by replacing array of dedicated tools. 

  • Whether you want to manage systems at scale
  • run ad-hoc tasks on a group of servers
  •  automate systems and application configurations,
  • do change management, 
  • deploy applications in a orchestrated way
  • provision cloud servers or manage network or storage devices

This course is been created to help you master Ansible one step at a time. It starts with the fundamental concepts related to Infrastructure as Code, what ansible is, what is Idempotence, what makes Ansible stand apart. Then it helps you relate ansible to your project by taking up a use case. Once you setup the environment with the codespaces tool, you start diving in to the simple and sophisticated world of ansible one concept at a time. As part of this course you would, 

  • Setup an inventory of group of servers and configure ansible to manage those
  • Write playbook for base systems configuration
  • Create roles for automating web server provisioning and configurations 
  • Use galaxy roles to setup a load balancer 
  • Customise roles using group_vars to define your database and application configuraions
  • Secure database passwords with ansible vault
  • Deploy applications in rolling manner with zero downtime

By the end of this course you would have mastered ansible and should be able to use it to automate  servers, applications and understand all the primitives that ansible offers. 

Course Introduction

1
How to Navigate this course
2
EX407: Red Hat Certified Specialist in Ansible Automation
3
Have Question, Find Help and Support
4
Important Resources for this Course

Introduction to Ansible

1
What is Ansible Part I: Why Ansible ?
2
What is Ansible Part II: Simplicity, YAML, Push Model, Custom Modules
3
What is Ansible Part III: Batteries Included Approach
4
Web Quest AWQ001 - Explore Ansible Batteries - Modules
5
What is Ansible Part IV: Infrastructure as a Code
6
What is Ansible Part V: Code vs Data
7
What is Ansible Part VI: Idempotence and State Management
8
What is Ansible Part VIII: The Ansible Story
9
Test your knowledge

This is a quiz to test your conceptual understanding on what is Ansible, why do we need it and what are the key features of it.

10
Web Quest AWQ002 - Relevance of Ansible in the world of Docker and Kubernetes

Setting up the Environment

1
Section Introduction
2
Introduction to codespaces
3
Setting up codespaces locally with docker
4
LAB 1: Setting up a codespaces environment with Docker
5
Launching codespaces on digital ocean cloud
6
Managing codespaces

Path to Automation with Ansible

1
Section Introduction
2
Tasks, Modules, Roles
3
Inventories and Playbooks
4
Book Recommendation: Ansible Playbook Essentials
5
Code Organization Strategies
6
Introducing Use Case - Devops Demo App
7
Approach to automate Devops Demo App

Ad Hoc Server Management with Ansible

1
Section Introduction
2
Configuring Ansible
3
LAB 1: Adding Ansible Configs
4
Defining a static Inventory
5
LAB 2: Creating Host Inventory
6
Host Patterns and Ad Hoc Commands
7
LAB 3: Ad Hoc commands
8
Modules and Desired State Configuration
9
LAB 4: Using modules to manage the state of infrastructure
10
Invoking Modules, Idempotence
11
Using common modules
12
Command Modules and Idempotence
13
Using ansible-console REPL Shell

Playbooks

1
Section Introduction
2
YAML Primer
3
Anatomy of a Playbook
4
Writing your first Play
5
LAB 1: Writing Playbook for Base System Configurations
6
Validating and applying Ansible Playbook
7
LAB 2: Validating Syntax
8
Troubleshooting playbook failures
9
LAB 3 :Error Handling and Debugging
10
Adding another play for app servers
11
LAB 4: Adding Additional Play
12
Nano Project: Create a playbook to deploy a Static Site
13
Nano Project ANP001: Write a Playbook to Deploy a Static HTML Site
14
Cleaning up lb node after deploying static site

Roles

1
Section Introduction
2
Why do you need roles?
3
Anatomy of a Role
4
Code Organization Strategies
5
Generating Roles Scaffold and Ansible Galaxy
6
Creating a role for Apache
7
LAB 1: Configuring app server environment with Roles
8
Writing and applying playbook for app servers
9
LAB 2: Writing Tasks to Install and Start Apache Web Service
10
Copying config file, notifications and handlers
11
LAB 3: Managing Configurations
12
Creating a role for PHP
13
LAB 4: Create a role to install php
14
Nested roles and site wide playbook
15
LAB 5: Systems role, dependencies and nested roles
16
Nano project: Deploy Devops Demo App
17
Nano Project ANP002: Write a role to deploy devopsdemo app

Vars and Templates

1
Section Introduction
2
Need to separate data from code
3
Diving into Jinja2 templates
4
Understanding ansible vars, Precedence Levels and Best Practices
5
Advanced vars concepts
6
Dynamically defining app version with vars and tasks
7
Managing app configs with templates and vars
8
LAB 1: Templates and Variables
9
Playing with vars precedence
10
LAB 2: Beyond defaults - Playing with vars precedence
11
Registereed varibles and conditional execution
12
LAB : 3 Registered Variables
13
Discovering facts with setup module

Ansible Galaxy

1
Section Introduction
2
Tour of Ansible Galaxy
3
Selecing role for HAProxy
4
Applying HAProxy role with custom properties
5
Troubleshooting HAProxy Issues
6
Nano Project: Setup MySQL database using a galaxy role
7
Setting up MySQL
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.2
4.2 out of 5
188 Ratings

Detailed Rating

Stars 5
75
Stars 4
71
Stars 3
28
Stars 2
5
Stars 1
9
0417e2ea6ea513b68ac73f8901e44947
30-Day Money-Back Guarantee

Includes

7 hours on-demand video
27 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion