# Can I gather facts without python on remote systems

**URL:** <https://forum.ansible.com/t/can-i-gather-facts-without-python-on-remote-systems/18051>\
**Category:** Ansible Project\
**Created:** [April 22, 2015, 1:58pm UTC](https://forum.ansible.com/t/can-i-gather-facts-without-python-on-remote-systems/18051 "2015-04-22T13:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrrkiran12](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@rrrkiran12](https://forum.ansible.com/u/rrrkiran12)\
**Post date:** [April 22, 2015, 1:58pm UTC](https://forum.ansible.com/t/can-i-gather-facts-without-python-on-remote-systems/18051/1 "2015-04-22T13:58:50Z")

</div>

Gather facts with Raw module

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 22, 2015, 2:01pm UTC](https://forum.ansible.com/t/can-i-gather-facts-without-python-on-remote-systems/18051/2 "2015-04-22T14:01:50Z")

</div>

You cannot use the ansible built in facts as they are implemented in  
python but you can retrun your own custom ones, you just have to  
return a json structure that starts with { "ansible\_facts": ...}

---

<div class="post-metadata">

**Author:** ![Yassen\_Damyanov](https://avatars.discourse-cdn.com/v4/letter/y/9fc29f/32.png) [@Yassen\_Damyanov](https://forum.ansible.com/u/Yassen_Damyanov)\
**Post date:** [April 22, 2015, 2:33pm UTC](https://forum.ansible.com/t/can-i-gather-facts-without-python-on-remote-systems/18051/3 "2015-04-22T14:33:22Z")

</div>

Or you can also bootstrap the remote node installing python using the script module (if okay in your case).  
(You have to, of course, suppress facts gathering for that step.)  
Y.
