Addresses #6550 add integration tests for pipe lookup

This commit is contained in:
James Tanner 2014-03-18 12:29:54 -04:00
parent 49807877fa
commit 4045b793be

View file

@ -82,3 +82,17 @@
assert:
that:
- "test_val == known_var_value.stdout"
# PIPE LOOKUP
# https://github.com/ansible/ansible/issues/6550
- name: confirm pipe lookup works with a single positional arg
debug: msg="{{ lookup('pipe', 'ls') }}"
# https://github.com/ansible/ansible/issues/6550
- name: confirm pipe lookup works with multiple positional args
debug: msg="{{ lookup('pipe', 'ls /tmp /') }}"