mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
_available_vars in v1 == _available_variables in v2
This commit is contained in:
parent
4bbca9211a
commit
3a8088fe30
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ class Templar:
|
|||
only_one = SINGLE_VAR.match(variable)
|
||||
if only_one:
|
||||
var_name = only_one.group(1)
|
||||
if var_name in self._available_vars:
|
||||
resolved_val = self._available_vars[var_name]
|
||||
if var_name in self._available_variables:
|
||||
resolved_val = self._available_variables[var_name]
|
||||
if isinstance(resolved_val, NON_TEMPLATED_TYPES):
|
||||
return resolved_val
|
||||
|
||||
|
|
Loading…
Reference in a new issue