1
0
Fork 0
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:
Brian Coca 2015-06-15 17:42:40 -04:00
parent dc31086a17
commit 5ed2e44026
2 changed files with 3 additions and 6 deletions

View file

@ -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'"

View file

@ -0,0 +1,3 @@
mydict:
mykey1: myval1
mykey2: myval2