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