# Environment variables understood by Ansible

**URL:** <https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053>\
**Category:** Ansible Project\
**Created:** [July 21, 2017, 9:56pm UTC](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053 "2017-07-21T21:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Kakouros](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Post date:** [July 21, 2017, 9:56pm UTC](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053/1 "2017-07-21T21:56:35Z")

</div>

Where can I find a list of environment variables that modify Ansible parameters? I am talking about the environment variables one sets before calling Ansible, eg ‘ENV\_VAR1=something ansible -i …’.

---

<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:** [July 21, 2017, 11:52pm UTC](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053/2 "2017-07-21T23:52:37Z")

</div>

In 2.4 we are adding a new command line tool 'ansible-config' which  
can dump all configuration settings, including which environment  
variables/ini entries/etc affect it.

The list in previous versions lives in  
[https://github.com/ansible/ansible/blob/stable-2.3/lib/ansible/constants.py](https://github.com/ansible/ansible/blob/stable-2.3/lib/ansible/constants.py)

---

<div class="post-metadata">

**Author:** ![Nick\_Kakouros](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Post date:** [July 23, 2017, 3:22pm UTC](https://forum.ansible.com/t/environment-variables-understood-by-ansible/25053/3 "2017-07-23T15:22:56Z")

</div>

Super! Thanks for the info.
