From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Learning objectives

Learning objectives

Hi, welcome to Using Conditionals. In this lesson, you'll learn how to make your playbooks more versatile using conditionals. We'll start by giving an overview of conditionals, and next you'll learn how to use Loop to process lists of events. After that, you'll find videos about Handlers and When, which allows you to run tasks in specific situations. Knowing that, you'll find videos about register, blocks, failure management and assert. And at the end of this lesson, you'll find a lab in which you are going to use when conditionals to make non-idempotent modules idempotent.

Contents