mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 23:51:23 -07:00
* Add groupby_as_dict filter.
* Test all error cases.
(cherry picked from commit 384655e15c
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ad5482f63d
commit
6013c77c2b
5 changed files with 123 additions and 0 deletions
3
changelogs/fragments/2323-groupby_as_dict-filter.yml
Normal file
3
changelogs/fragments/2323-groupby_as_dict-filter.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
add plugin.filter:
|
||||
- name: groupby_as_dict
|
||||
description: Transform a sequence of dictionaries to a dictionary where the dictionaries are indexed by an attribute
|
Loading…
Add table
Add a link
Reference in a new issue