From 5ed2e440260e2d06d234634305f4d61e82413f6c Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 15 Jun 2015 17:42:40 -0400 Subject: [PATCH] adjusted with_dict test to now work --- test/integration/roles/test_lookups/tasks/main.yml | 6 ------ test/integration/roles/test_lookups/vars/main.yml | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 test/integration/roles/test_lookups/vars/main.yml diff --git a/test/integration/roles/test_lookups/tasks/main.yml b/test/integration/roles/test_lookups/tasks/main.yml index 89f9e3f886..d5032083cf 100644 --- a/test/integration/roles/test_lookups/tasks/main.yml +++ b/test/integration/roles/test_lookups/tasks/main.yml @@ -162,10 +162,4 @@ - name: set with_dict shell: echo "{{ item.key + '=' + item.value }}" - register: keyval with_dict: "{{ mydict }}" - -- name: compare dict return - assert: - that: - - "keyval.stdout == 'mykey=myval'" diff --git a/test/integration/roles/test_lookups/vars/main.yml b/test/integration/roles/test_lookups/vars/main.yml new file mode 100644 index 0000000000..5338487676 --- /dev/null +++ b/test/integration/roles/test_lookups/vars/main.yml @@ -0,0 +1,3 @@ +mydict: + mykey1: myval1 + mykey2: myval2