From 4d1757ce64fd9627cbc022c1533cde3f25ecdbb1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 9 Nov 2015 17:09:00 -0500 Subject: [PATCH] Temporarily disable template caching --- lib/ansible/template/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 709ee03ef8d..3eb085b2bba 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -332,8 +332,8 @@ class Templar: # we only cache in the case where we have a single variable # name, to make sure we're not putting things which may otherwise # be dynamic in the cache (filters, lookups, etc.) - if var_name not in (None, 'item'): - self._cached_result[sha1_hash] = result + #if var_name not in (None, 'item'): + # self._cached_result[sha1_hash] = result return result