mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Simplify group_by by removing BYPASS_HOST_LOOP from the action
Fixes #12825
This commit is contained in:
parent
0888d78b84
commit
1fa975d81a
3 changed files with 24 additions and 33 deletions
|
@ -145,7 +145,7 @@ class ResultProcess(multiprocessing.Process):
|
|||
self._send_result(('add_host', result_item))
|
||||
elif 'add_group' in result_item:
|
||||
# this task added a new group (group_by module)
|
||||
self._send_result(('add_group', result._task))
|
||||
self._send_result(('add_group', result._host, result_item))
|
||||
elif 'ansible_facts' in result_item:
|
||||
# if this task is registering facts, do that now
|
||||
item = result_item.get('item', None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue