$ ./guess_the_languageDevOps
DevOps · medium · #214

When does an Ansible handler run?

  1. After every task in the play
  2. Only before the first task
  3. When a task notifies it
  4. Only if the play has failed
Handlers run at the end of the play, and only if a changed task notified them, e.g. to restart a service.
Play DevOps ▸