mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Merge branch 'devel' of git://github.com/willthames/ansible into devel
This commit is contained in:
@@ -29,8 +29,6 @@ def get_config(p, section, key, env_var, default):
|
||||
try:
|
||||
return p.get(section, key)
|
||||
except:
|
||||
if env_var is not None:
|
||||
return os.environ.get(env_var, default)
|
||||
return default
|
||||
else:
|
||||
return default
|
||||
|
||||
Reference in New Issue
Block a user