# Hey, you all win! (re: variable precedence)

**URL:** <https://forum.ansible.com/t/hey-you-all-win-re-variable-precedence/11990>\
**Category:** Ansible Project\
**Created:** [October 16, 2012, 11:25pm UTC](https://forum.ansible.com/t/hey-you-all-win-re-variable-precedence/11990 "2012-10-16T23:25:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 16, 2012, 11:25pm UTC](https://forum.ansible.com/t/hey-you-all-win-re-variable-precedence/11990/1 "2012-10-16T23:25:13Z")

</div>

I've fixed the get\_config function that was causing environment  
variables to trump the config file.

As a result

(A) they know work like you'd expect  
(B) my threats about removing environment variables are withdrawn

(I still prefer the config file, FWIW)

--Michael
