1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 # short circuit this whole function if we have specified we don't want
# legacy var replacement # legacy var replacement
if C.DEFAULT_LEGACY_PLAYBOOK_VARIABLES == 'no': if C.DEFAULT_LEGACY_PLAYBOOK_VARIABLES == False:
return None return None
start = text.find("$") start = text.find("$")