Addresses #6550 add integration tests for pipe lookup
This commit is contained in:
parent
49807877fa
commit
4045b793be
1 changed files with 14 additions and 0 deletions
|
@ -82,3 +82,17 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "test_val == known_var_value.stdout"
|
- "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 /') }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue