Be more selective about what variables we cache during templating

Fixes #13087
This commit is contained in:
James Cammarata 2015-11-09 14:07:03 -05:00
commit 7e04947599
2 changed files with 7 additions and 4 deletions

View file

@ -272,7 +272,6 @@ class VariableManager:
# we assume each item in the list is itself a list, as we
# support "conditional includes" for vars_files, which mimics
# the with_first_found mechanism.
#vars_file_list = templar.template(vars_file_item)
vars_file_list = vars_file_item
if not isinstance(vars_file_list, list):
vars_file_list = [ vars_file_list ]