From 22639a2a225c66ef18bcac09cb51e2c83ecebcd1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 9 Sep 2015 18:28:39 -0400 Subject: [PATCH] Fix mistake in fact setting to nonpersistent cache in VariableManager Fixes #12301 --- lib/ansible/vars/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/vars/__init__.py b/lib/ansible/vars/__init__.py index 491b99a8046..658f0250d7c 100644 --- a/lib/ansible/vars/__init__.py +++ b/lib/ansible/vars/__init__.py @@ -390,7 +390,7 @@ class VariableManager: assert isinstance(facts, dict) - if host.name not in self._fact_cache: + if host.name not in self._nonpersistent_fact_cache: self._nonpersistent_fact_cache[host.name] = facts else: try: