# Generating pretty HTML report from the list-tasks option.

**URL:** <https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096>\
**Category:** Ansible Project\
**Created:** [April 7, 2016, 4:25pm UTC](https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096 "2016-04-07T16:25:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley\_Kamithi](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Stanley\_Kamithi](https://forum.ansible.com/u/Stanley_Kamithi)\
**Post date:** [April 7, 2016, 4:25pm UTC](https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096/1 "2016-04-07T16:25:19Z")

</div>

Is there a plugin that exists, or a feature in the works, where I can do something like this

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [April 9, 2016, 7:41pm UTC](https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096/2 "2016-04-09T19:41:43Z")

</div>

Nice idea.

I haven’t seen anything like that.

You might be able to do it by creating a custom callback plugin, although I’ve not investigated whether --list-task would actually generate any callback events.

I’d be tempted to do something quick and dirty like this:

echo “” \> deployment\_plan.html  
echo “Deployment Plan

```
” >> deployment_plan.html
ansible-playbook site.yml --list-tasks >> deployment_plan.html
echo “
```
” \>\> deployment\_plan.html

Hope this helps,

Jon
