You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/lookup_pipe/tasks/main.yml

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"