mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clear cache when updating template variables.
This commit is contained in:
parent
87a9485b2f
commit
805f768dab
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ class Templar:
|
|||
|
||||
assert isinstance(variables, dict)
|
||||
self._available_variables = variables.copy()
|
||||
# Clearing cache
|
||||
self._cached_result = {}
|
||||
|
||||
def template(self, variable, convert_bare=False, preserve_trailing_newlines=True, escape_backslashes=True, fail_on_undefined=None, overrides=None, convert_data=True):
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue