mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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)
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user