commit 9db4f7a made a change that also needed to include this to retain correct legacy_playbook_variables behavior

This commit is contained in:
Matt Coddington 2013-09-25 23:22:09 -04:00
parent a002a24973
commit 7f7116de3b

View file

@ -150,7 +150,7 @@ def _legacy_varFind(basedir, text, vars, lookup_fatal, depth, expand_lists):
# short circuit this whole function if we have specified we don't want
# legacy var replacement
if C.DEFAULT_LEGACY_PLAYBOOK_VARIABLES == 'no':
if C.DEFAULT_LEGACY_PLAYBOOK_VARIABLES == False:
return None
start = text.find("$")