Handler

Learn to concatenate tasks in Ansible using the handler command.

We'll cover the following

What is a handler?

The Ansible handler is a special kind of task that only runs when notified by another task.
Handlers only execute when the previous task reports a changed status. If the previous task report has an ok status, the handler is not executed at all. The Ansible idempotency property is significant when dealing with handlers’ statements.

Get hands-on with 1200+ tech skills courses.