0 votes
in Ansible by
What’s a handler?

1 Answer

0 votes
by

A Handler is a regular playbook task, but the difference is that playbook tasks occur sequentially while a handler is executed when called by some event or a task. Handlers get executed once only once all the tasks in a specific play get completed. As an example, initiating a new service when the configuration setting changes or installation completes.

Related questions

0 votes
asked Nov 13, 2019 in Ansible by rajeshsharma
0 votes
asked Jul 30, 2021 in Ansible by DavidAnderson
...