Fixing filter test for extract to use proper group

This commit is contained in:
James Cammarata 2015-12-11 00:18:47 -05:00
parent d9e510b192
commit 97554fc222

View file

@ -77,4 +77,4 @@
- "31 == ['x','y']|map('extract',{'x':42,'y':31})|list|last" - "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"
- "'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"