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:
parent
aa3b290efd
commit
22639a2a22
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue