Debian Codegraph @

test/integration/targets/lookup_pipe/tasks/main.yml

raw
1 # https://github.com/ansible/ansible/issues/6550
2 - name: confirm pipe lookup works with a single positional arg
3 set_fact:
4 result: "{{ lookup('pipe', 'echo $OUTPUT_DIR') }}"
5
6 - name: verify the expected output was received
7 assert:
8 that:
9 - "result == output_dir"