mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
parent
cca084c89d
commit
0f2b1244d2
4 changed files with 15 additions and 15 deletions
|
@ -143,7 +143,7 @@ class ResultProcess(multiprocessing.Process):
|
|||
if result._task.loop:
|
||||
# this task had a loop, and has more than one result, so
|
||||
# loop over all of them instead of a single result
|
||||
result_items = result._result['results']
|
||||
result_items = result._result.get('results', [])
|
||||
else:
|
||||
result_items = [ result._result ]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue