For a future release, I would like to propose a feature that would allow a ‘global’ notification parameter. The specified handler(s) would fire if any of the tasks in the play registered a change. This would be handy when uploading a series of config files, any of which should restart the service.
Example syntax:
https://gist.github.com/17b1d3c4d0d53feb27ec
FWIW, upload vhost could be done with a “with_items” in which case I think change handlers “just work”.
I’m not sure how often a global handler would make sense, and in some cases if you, say, add a user, you might not need to restart the service.
Following what the other CM tools do in this case, I don’t think a global notifier makes sense. I think I’d rather it be explicit.