mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
adjusted with_dict test to now work
This commit is contained in:
parent
dc31086a17
commit
5ed2e44026
2 changed files with 3 additions and 6 deletions
|
@ -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'"
|
||||
|
|
3
test/integration/roles/test_lookups/vars/main.yml
Normal file
3
test/integration/roles/test_lookups/vars/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
mydict:
|
||||
mykey1: myval1
|
||||
mykey2: myval2
|
Loading…
Reference in a new issue