mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Merge pull request #4255 from mcodd/legacy_vars_fix
Fix for legacy_playbook_variables (should fix issue #4254)
This commit is contained in:
@@ -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("$")
|
||||||
|
|||||||
Reference in New Issue
Block a user