mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
Fix mistake in fact setting to nonpersistent cache in VariableManager
Fixes #12301
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user