mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
parent
083aef65ad
commit
c2115c3715
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class ResultProcess(multiprocessing.Process):
|
||||||
elif 'ansible_facts' in result_item:
|
elif 'ansible_facts' in result_item:
|
||||||
# if this task is registering facts, do that now
|
# if this task is registering facts, do that now
|
||||||
item = result_item.get('item', None)
|
item = result_item.get('item', None)
|
||||||
if result._task.action in ('set_fact', 'include_vars'):
|
if result._task.action == 'include_vars':
|
||||||
for (key, value) in iteritems(result_item['ansible_facts']):
|
for (key, value) in iteritems(result_item['ansible_facts']):
|
||||||
self._send_result(('set_host_var', result._host, result._task, item, key, value))
|
self._send_result(('set_host_var', result._host, result._task, item, key, value))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue