From b9bb3e83b7f001ecca392f4ff51f913d495a69cf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 11 Jun 2015 13:44:31 -0400 Subject: [PATCH] added new test that allows for listed bare strings now with_times: barestring, will error out in test --- test/integration/roles/test_lookups/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/integration/roles/test_lookups/tasks/main.yml b/test/integration/roles/test_lookups/tasks/main.yml index f9970f70a2..44e8b18ccb 100644 --- a/test/integration/roles/test_lookups/tasks/main.yml +++ b/test/integration/roles/test_lookups/tasks/main.yml @@ -125,9 +125,16 @@ - "bare_var.results[0].item == 1" - "bare_var.results[1].item == 2" +- name: use list with bare strings in it + debug: msg={{item}} + with_items: + - things2 + - things1 + - name: use list with undefined var in it debug: msg={{item}} with_items: things2 + ignore_errors: True # BUG #10073 nested template handling