mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Revert "Temporarily disable template caching"
This reverts commit 4d1757ce64.
This commit is contained in:
@@ -332,8 +332,8 @@ class Templar:
|
|||||||
# we only cache in the case where we have a single variable
|
# we only cache in the case where we have a single variable
|
||||||
# name, to make sure we're not putting things which may otherwise
|
# name, to make sure we're not putting things which may otherwise
|
||||||
# be dynamic in the cache (filters, lookups, etc.)
|
# be dynamic in the cache (filters, lookups, etc.)
|
||||||
#if var_name not in (None, 'item'):
|
if var_name not in (None, 'item'):
|
||||||
# self._cached_result[sha1_hash] = result
|
self._cached_result[sha1_hash] = result
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user