added with_dict test

This commit is contained in:
Brian Coca 2015-06-15 17:12:18 -04:00
parent 6c884c9e39
commit dc31086a17

View file

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