1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
James Cammarata 2015-09-11 01:15:09 -04:00
parent 083aef65ad
commit c2115c3715

View file

@ -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: