Commit 5ed2e440 by Brian Coca

adjusted with_dict test to now work

parent dc31086a
...@@ -162,10 +162,4 @@ ...@@ -162,10 +162,4 @@
- name: set with_dict - name: set with_dict
shell: echo "{{ item.key + '=' + item.value }}" shell: echo "{{ item.key + '=' + item.value }}"
register: keyval
with_dict: "{{ mydict }}" with_dict: "{{ mydict }}"
- name: compare dict return
assert:
that:
- "keyval.stdout == 'mykey=myval'"
mydict:
mykey1: myval1
mykey2: myval2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment