# use environment variables of the remote host

**URL:** <https://forum.ansible.com/t/use-environment-variables-of-the-remote-host/21037>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [March 31, 2016, 9:35pm UTC](https://forum.ansible.com/t/use-environment-variables-of-the-remote-host/21037 "2016-03-31T21:35:54Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [March 31, 2016, 9:35pm UTC](https://forum.ansible.com/t/use-environment-variables-of-the-remote-host/21037/1 "2016-03-31T21:35:54Z")

</div>

after fact gathering, the ansible\_env variable is populated with the target host’s environment vars.
