When a Handler Runs
Three tasks in a play notify the handler restart nginx. Two of them report changed. When does the handler run, and how often?
restart nginx
changed
Part of Ansible from Zero. Next step: The New Port Never Takes Effect
Choose one answer
Three times, once per notifying task, whatever their result
Never: handlers only run when --force-handlers is given
--force-handlers
Right after each task that changed, so twice in total
Once, at the end of the play, since a notifier changed