# How to access the playbook execution log file at run time?

**URL:** <https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812>\
**Category:** Ansible Project\
**Created:** [June 16, 2024, 2:56pm UTC](https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812 "2024-06-16T14:56:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luiz\_Gustavo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/luiz_gustavo/32/4846_2.png) [@Luiz\_Gustavo](https://forum.ansible.com/u/Luiz_Gustavo)\
**Post date:** [June 16, 2024, 2:56pm UTC](https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812/1 "2024-06-16T14:56:29Z")

</div>

Hey guys,

How to access the playbook execution log file at run time? I would need to email it after running the playbook.

For example, a simple playbook:

---

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [June 16, 2024, 3:20pm UTC](https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812/2 "2024-06-16T15:20:39Z")

</div>

If you’re running Job Templates in AWX you might want to look into Notification Templates ([https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html](https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html)), and specifically Email ([https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html#email](https://ansible.readthedocs.io/projects/awx/en/latest/userguide/notifications.html#email))

You could also look into callback plugins ([https://docs.ansible.com/ansible/latest/plugins/callback.html#example-callback-plugins](https://docs.ansible.com/ansible/latest/plugins/callback.html#example-callback-plugins))
