Facts are marked as unsafe when originally gathered, but they lose that marking when they are serialized to JSON and parsed back out.
This commit is contained in:
parent
44d4327bc7
commit
e4af3a8957
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class VariableManager:
|
|||
|
||||
# finally, the facts caches for this host, if it exists
|
||||
try:
|
||||
facts = self._fact_cache.get(host.name, {})
|
||||
facts = wrap_var(self._fact_cache.get(host.name, {}))
|
||||
all_vars.update(namespace_facts(facts))
|
||||
|
||||
# push facts to main namespace
|
||||
|
|
Loading…
Add table
Reference in a new issue