From 7f7116de3b24b52feebc4f6ee1e3f76963e3a083 Mon Sep 17 00:00:00 2001 From: Matt Coddington Date: Wed, 25 Sep 2013 23:22:09 -0400 Subject: [PATCH] commit 9db4f7a made a change that also needed to include this to retain correct legacy_playbook_variables behavior --- lib/ansible/utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py index 157af0ec9b..7861c23ecb 100644 --- a/lib/ansible/utils/template.py +++ b/lib/ansible/utils/template.py @@ -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("$")