# Is there a way to print a report at the end of an ansible run?

**URL:** <https://forum.ansible.com/t/is-there-a-way-to-print-a-report-at-the-end-of-an-ansible-run/26265>\
**Category:** Ansible Project\
**Created:** [December 12, 2017, 9:39pm UTC](https://forum.ansible.com/t/is-there-a-way-to-print-a-report-at-the-end-of-an-ansible-run/26265 "2017-12-12T21:39:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![burton](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@burton](https://forum.ansible.com/u/burton)\
**Post date:** [December 12, 2017, 9:39pm UTC](https://forum.ansible.com/t/is-there-a-way-to-print-a-report-at-the-end-of-an-ansible-run/26265/1 "2017-12-12T21:39:16Z")

</div>

I have an ansible setup that generates a set of clusters and their configuration.

I want to print (locally) a report showing which services were deployed, what their credentials were, etc.

debug won’t work because the output it escaped so I get lots of \n\n …

a command with ‘cat’ won’t work because it just prints ‘success’ .

Any thoughts?

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [December 12, 2017, 9:50pm UTC](https://forum.ansible.com/t/is-there-a-way-to-print-a-report-at-the-end-of-an-ansible-run/26265/2 "2017-12-12T21:50:11Z")

</div>

You could write a callback plugin that aggregates that data, and prints out on `v2_playbook_on_stats` similarly to the way the `PLAY RECAP` is output.
