From e7804a6fdd0df529e9f58d1557876b9ca11077be Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 8 Jan 2016 16:25:10 -0500 Subject: [PATCH] fixed test to use hostvars and not expect vars sub vars is at the same level as hostvars and was only included in hostvars temporarily as a bug --- test/integration/roles/test_filters/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_filters/tasks/main.yml b/test/integration/roles/test_filters/tasks/main.yml index cb1549d3f7..aab1602920 100644 --- a/test/integration/roles/test_filters/tasks/main.yml +++ b/test/integration/roles/test_filters/tasks/main.yml @@ -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" - - "'amazon' == ['localhost']|map('extract',hostvars,['vars','group_names',0])|list|first" + - "'amazon' == ['localhost']|map('extract',hostvars,['group_names',0])|list|first"