From d15fcf05f09728832ee982166b02f26cd3c9f8d2 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 12 Oct 2015 12:17:45 -0400 Subject: [PATCH] Fix bug in the way temp vars were created for templating vars_files Fixes #12711 --- lib/ansible/vars/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/vars/__init__.py b/lib/ansible/vars/__init__.py index 7dc01283b3..fd9bcb7384 100644 --- a/lib/ansible/vars/__init__.py +++ b/lib/ansible/vars/__init__.py @@ -258,7 +258,7 @@ class VariableManager: # create a set of temporary vars here, which incorporate the extra # and magic vars so we can properly template the vars_files entries temp_vars = combine_vars(all_vars, self._extra_vars) - temp_vars = combine_vars(all_vars, magic_variables) + temp_vars = combine_vars(temp_vars, magic_variables) templar = Templar(loader=loader, variables=temp_vars) # we assume each item in the list is itself a list, as we