Ansible: Playbooks Deep Dive

By Stosh Oldham

This course discusses what a play and playbook are in Ansible as well as the key features of Ansible Playbooks.

6 hours
  • 30 Lessons
  • 3 Hands-On Labs

About the course

This course is the second in a series on Ansible, where we focus on writing Ansible playbooks.

While the first course in the series focusses on installation, configuration, and ad-hoc commands, this course discusses what a play and playbook are in Ansible. Many key features of Ansible Playbooks are highlighted as we work through the course, and a few new modules are introduced along the way.

Naturally, there are many demonstrations provided and discussions on potential use cases for the various features that are covered. Hands-on labs are provided throughout the course for students to practice their knowledge. After completing this course, students should be capable of writing Ansible playbooks for various scenarios!

  • Chapter 1 5 Lessons Course Overview 10:16

    An Important Note About A Cloud Guru and Linux Academy Courses

    1:19

    About the Course

    2:04

    About the Training Architect

    0:36

    Course Features and Tools

    3:17

    About Ansible Playbooks

    3:00
  • Chapter 2 5 Lessons Playbook Basics 1:26:46

    Using YAML for Ansible Playbooks

    7:34

    Creating an Ansible Play

    7:38

    The `ansible-playbook` Command

    6:48

    Understanding Playbook Tasks

    4:46

    Writing Your First Ansible Playbook

    1:00:00 Hands-On Lab
  • Chapter 3 7 Lessons Essential Playbook Syntax 2:25:19

    Using Variables in Playbooks

    17:44

    Working with Templates

    6:08

    Using Ansible Facts

    10:59

    Conditional Execution in Playbooks

    8:14

    Using Loops in Ansible

    4:57

    Working with Handlers in Ansible

    7:17

    Deploying Services Using Ansible

    1:30:00 Hands-On Lab
  • Chapter 4 12 Lessons Advanced Playbook Syntax 2:56:34

    Advanced Inventory Configuration

    7:47

    Executing Selective Parts of a Playbook

    5:55

    Working with Sensitive Data Using Ansible Vault

    14:05

    Error Handling in a Playbook - limit, ignore_errors, changed_when, and failed_when

    9:42

    Error Handling in a Playbook - Block Groups and The Debug Module

    6:58

    Asynchronous Tasks within a Playbook

    5:36

    Delegating Playbook Execution with `delegate_to` and `local_action`

    5:11

    Parallelism in Playbooks

    7:49

    Using `run_once`

    3:15

    Overview of Ansible Roles

    7:24

    Ansible Role Demo

    12:52

    Advanced Features in Ansible Playbooks

    1:30:00 Hands-On Lab
  • Chapter 5 1 Lesson Course Wrap Up 2:05

    Conclusion and Next Steps

    2:05

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!