Is there any way to run a command after the playbook has finished running,
so it would run once no matter how many hosts were processed? Kind of a
callback handler or super-notifier.
I have a Hipchat message generated after deploying and I'd rather see one
summary message than a line for each
I actually have a pull request submitted to supply a hipchat callback plugin:
https://github.com/ansible/ansible/pull/6376
The callback method of significance is `playbook_on_stats`
This is the callback method I use to send a hipchat notification that provides
statistics about results at the
you can also have a task or play at the end of your playbook that uses the
existing hipchat notification module.
your current playbook
- hosts: localhost
tasks:
- hipchat:
--
Brian Coca
Stultorum infinitus est numerus