10 lines
279 B
YAML
10 lines
279 B
YAML
|
# https://github.com/ansible/ansible/issues/6550
|
||
|
- name: confirm pipe lookup works with a single positional arg
|
||
|
set_fact:
|
||
|
result: "{{ lookup('pipe', 'echo $OUTPUT_DIR') }}"
|
||
|
|
||
|
- name: verify the expected output was received
|
||
|
assert:
|
||
|
that:
|
||
|
- "result == output_dir"
|