1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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: