Autoplay
Autocomplete
HTML5
Flash
Player
Speed
Previous Lecture
Complete and continue
Zero to Ansible
Course Introduction
How to Navigate this course (4:02)
Have Question, Find Help and Support (5:47)
Certification Blueprint (3:35)
Introduction to Ansible
What is Ansible Part I: Why Ansible ? (6:23)
What is Ansible Part II: Simplicity, YAML, Push Model, Custom Modules (6:46)
What is Ansible Part III: Batteries Included Approach (3:03)
What is Ansible Part VI: Scripts vs Ansible (3:26)
What is Ansible Part V: Infrasructure as a Code (2:00)
What is Ansible Part VI: Code vs Data (2:54)
What is Ansible Part VII: Idempotence and State Management (5:40)
What is Ansible Part VIII: The Ansible Story (4:18)
Path to Automation with Ansible
Section Introduction (0:51)
Tasks, Modules, Roles (6:45)
Inventories and Playbooks (5:11)
Book Recommendation: Ansible Playbook Essentials (1:08)
Code Organization Strategies (4:27)
Introducing Use Case - Devops Demo App (4:02)
Approach to automate Devops Demo App (4:41)
Setting up the Environment
Section Introduction (1:17)
Introduction to codespaces (6:47)
Setting up codespaces locally with docker (7:11)
Launching codespaces on digital ocean cloud (4:48)
Managing codespaces (4:47)
Ad Hoc Server Management with Ansible
Section Introduction (1:33)
Configuring Ansible (6:24)
Defining a static Inventory (5:50)
Host Patterns and Ad Hoc Commands (8:53)
Modules and Desired State Configuration (4:59)
Invoking Modules, Idempotence (6:00)
Using common modules (7:33)
Command Modules and Idempotence (7:43)
Using ansible-console REPL Shell (3:56)
Playbooks
Section Introduction (1:07)
YAML Primer (5:19)
Anatomy of a Playbook (6:58)
Writing your first Play (5:08)
Validating and applying Ansible Playbook (5:29)
Troubleshooting playbook failures (4:42)
Adding another play for app servers (3:36)
Nano Project: Create a playbook to deploy a Static Site (2:02)
Roles
Section Introduction (1:08)
Why do you need roles? (3:30)
Anatomy of a Role (3:35)
Code Organization Strategies (3:46)
Generating Roles Scaffold and Ansible Galaxy (2:49)
Creating a role for Apache (5:21)
Writing and applying playbook for app servers (3:14)
Copying config file, notifications and handlers (7:55)
Creating a role for PHP (5:44)
Nested roles and site wide playbook (4:53)
Nano project: Deploy Devops Demo App (2:14)
Vars and Templates
Section Introduction (1:12)
Need to separate data from code (3:21)
Diving into Jinja2 templates (5:13)
Understanding ansible vars, Precedence Levels and Best Practices (6:57)
Advanced vars concepts (6:30)
Dynamically defining app version with vars and tasks (5:53)
Managing app configs with templates and vars (9:13)
Playing with vars precedence (8:14)
Registered variables and conditional execution (4:52)
Discovering facts with setup module (4:44)
Ansible Galaxy
Section Introduction (0:39)
Tour of Ansible Galaxy (8:28)
Selecting role for HAProxy (5:23)
Applying HAProxy role with custom properties (4:07)
Troubleshooting HAProxy Issues (5:28)
Nano Project: Setup MySQL database using a galaxy role (2:45)
Setting up MySQL (5:56)
Connecting app with the database (2:09)
Checking in the galaxy roles (2:42)
Tagging tasks, roles, plays and playbooks (4:14)
Controlling Execution Flow
Overview of Conditionals (4:30)
Overview of Iterators (5:01)
Iterating over a list to install packages (2:41)
Iterating over a dictionary to create users (4:16)
Using conditionals in tasks and templates (3:39)
Adding Ubuntu support by conditionally including vars (8:16)
Making application compatible with ubuntu (6:16)
Auto Discovery and Manging Multiple Environments
Enabling Facts Caching (6:11)
Using Magic Variables for Service Discovery (6:56)
Creating staging environment (9:22)
Rolling back changes with contra playbooks (4:52)
Vault
Section Introduction (0:59)
Encrypting a file and using it in a playbook (6:09)
Using a password file and Rekeying (3:57)
Vault 1.2 and multiple Vault IDs (6:07)
Changing Vault IDs and Encrypting Strings in File (5:06)
Encrypting mysql passwords with Vault (5:25)
Application Deployments
Section Introduction (0:55)
Writing tasks for importing database schema (5:40)
Applying schema updates and Troubleshooting (4:51)
Creating strategy for Rolling updates (4:17)
Adding pre and post tasks, Tasks gelegation, Testing with wait_for (6:06)
What is Ansible Part II: Simplicity, YAML, Push Model, Custom Modules
Lecture content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock