Is there a way to have multiple plays call a "notify" handler, but have the handler run only once, at the end of all plays?
For example, say I have site.yml:
- include webservers.yml
- include database.yml
And in both webservers.yml and database.yml, I have a role that calls:
notify: update load balancer
If I put an "update load balancer" handler in some common role included by both webservers.yml and database.yml, it gets called at the end of each of those two plays. I only want it to happen once, at the end of both plays.
And if I put the handler inside site.yml, it can't be found by the included plays.
Thanks.