mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
Add groupby_as_dict filter (#2323)
* Add groupby_as_dict filter. * Test all error cases.
This commit is contained in:
parent
23dda56913
commit
384655e15c
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