Commit c2115c37 by James Cammarata

Re-adding part of 926f1272 which was actually fixing #12277

parent 083aef65
......@@ -158,7 +158,7 @@ class ResultProcess(multiprocessing.Process):
elif 'ansible_facts' in result_item:
# if this task is registering facts, do that now
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']):
self._send_result(('set_host_var', result._host, result._task, item, key, value))
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment