mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fixing filter test for extract to use proper group
This commit is contained in:
@@ -77,4 +77,4 @@
|
||||
- "31 == ['x','y']|map('extract',{'x':42,'y':31})|list|last"
|
||||
- "'local' == ['localhost']|map('extract',hostvars,'ansible_connection')|list|first"
|
||||
- "'local' == ['localhost']|map('extract',hostvars,['ansible_connection'])|list|first"
|
||||
- "'ungrouped' == ['localhost']|map('extract',hostvars,['vars','group_names',0])|list|first"
|
||||
- "'amazon' == ['localhost']|map('extract',hostvars,['vars','group_names',0])|list|first"
|
||||
|
||||
Reference in New Issue
Block a user