ansible/ansible — pull request #1365 by willthames (2012-10-18 02:29:31+00:00)
Title: Fix to get_config so that the priority order is improved.

Previously an unset environment variable would cause the
default value to be returned, even when the value was correctly
set in the config file.

It could be argued that the environment variable should
override the configuration file, in which case this needs
a tweak.

Added tests for ansible.constants.get_config