# access system facts in custom filter

**URL:** <https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147>\
**Category:** Ansible Project\
**Created:** [November 28, 2017, 8:52am UTC](https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147 "2017-11-28T08:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lupindeterd](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lupindeterd](https://forum.ansible.com/u/lupindeterd)\
**Post date:** [November 28, 2017, 8:52am UTC](https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147/1 "2017-11-28T08:52:28Z")

</div>

Hi,

Is it possible to access the facts(e.g. mounts) inside custom filter without it being passed explicitly?

I want to parse and retrieve the mount-point and free space.

Cheers  
Lupin

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [November 28, 2017, 1:49pm UTC](https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147/2 "2017-11-28T13:49:38Z")

</div>

no
