mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
dc945b8040
commit
1eb5b42705
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ class VariableManager:
|
|||
try:
|
||||
host_facts = self._fact_cache.get(host.name, dict())
|
||||
for k in host_facts.keys():
|
||||
host_facts[k] = UnsafeProxy(host_facts[k])
|
||||
if not isinstance(host_facts[k], UnsafeProxy):
|
||||
host_facts[k] = UnsafeProxy(host_facts[k])
|
||||
all_vars = combine_vars(all_vars, host_facts)
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue