Fix mistake in fact setting to nonpersistent cache in VariableManager

Fixes #12301
This commit is contained in:
James Cammarata 2015-09-09 18:28:39 -04:00
parent aa3b290efd
commit 22639a2a22

View file

@ -390,7 +390,7 @@ class VariableManager:
assert isinstance(facts, dict) 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 self._nonpersistent_fact_cache[host.name] = facts
else: else:
try: try: