# how to save the whole ansible\_facts from eos\_facts module into one file per host

**URL:** <https://forum.ansible.com/t/how-to-save-the-whole-ansible-facts-from-eos-facts-module-into-one-file-per-host/24442>\
**Category:** Ansible Project\
**Created:** [May 10, 2017, 6:11am UTC](https://forum.ansible.com/t/how-to-save-the-whole-ansible-facts-from-eos-facts-module-into-one-file-per-host/24442 "2017-05-10T06:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@James\_Kang](https://forum.ansible.com/u/James_Kang)\
**Post date:** [May 10, 2017, 6:11am UTC](https://forum.ansible.com/t/how-to-save-the-whole-ansible-facts-from-eos-facts-module-into-one-file-per-host/24442/1 "2017-05-10T06:11:18Z")

</div>

Hi,

I am trying to save facts from eos\_facts module into a json file per host.  
But it seems there is NOT a way to access everything under “ansible\_facts” on one shot.  
I ended up doing a workaround, and creating multiple files.  
Please let me know if there is a way to save everything in one json file.

Thank you in advance,

```auto

```
