blob: 8aa1bc64e25d1a431e070deace1f97c85ece9057 (
plain)
1
2
3
4
5
6
7
8
9
|
# 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"
|