mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Fix issue ansible/ansible#59059 (#15)
When no sorting was selected, `result` was a `odict_items` which is not subscriptable, so the slicing was failing.
This commit is contained in:
parent
c217a9bf8d
commit
8a11a72e0c
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class CallbackModule(CallbackBase):
|
|||
timestamp(self)
|
||||
self.current = None
|
||||
|
||||
results = self.stats.items()
|
||||
results = list(self.stats.items())
|
||||
|
||||
# Sort the tasks by the specified sort
|
||||
if self.sort_order is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue