mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
Addresses #6550 add integration tests for pipe lookup
This commit is contained in:
@@ -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 /') }}"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user