mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bug in the way temp vars were created for templating vars_files
Fixes #12711
This commit is contained in:
parent
2c24fbbd6a
commit
d15fcf05f0
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class VariableManager:
|
||||||
# create a set of temporary vars here, which incorporate the extra
|
# create a set of temporary vars here, which incorporate the extra
|
||||||
# and magic vars so we can properly template the vars_files entries
|
# 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, 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)
|
templar = Templar(loader=loader, variables=temp_vars)
|
||||||
|
|
||||||
# we assume each item in the list is itself a list, as we
|
# we assume each item in the list is itself a list, as we
|
||||||
|
|
Loading…
Reference in a new issue