added with_dict test

pull/11276/head
Brian Coca 10 years ago
parent 6c884c9e39
commit dc31086a17

@ -159,3 +159,13 @@
that:
- "test_val == known_var_value.stdout"
- 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'"

Loading…
Cancel
Save