Improve a documentation of the first_found lookup plugin (#73080)

Co-authored-by: Wojciech Ściesiński <wojciech.sciesinski@huuugegames.com>
pull/74490/head
Wojciech Sciesinski 4 years ago committed by GitHub
parent baa371e7b5
commit f40ab25909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,9 +41,9 @@ EXAMPLES = """
msg: "{{ lookup('first_found', findme, errors='ignore') }}" msg: "{{ lookup('first_found', findme, errors='ignore') }}"
vars: vars:
findme: findme:
- "/path/to/foo.txt" - /path/to/foo.txt
- "bar.txt" # will be looked in files/ dir relative to role and/or play - bar.txt # will be looked in files/ dir relative to role and/or play
- "/path/to/biz.txt" - /path/to/biz.txt
- name: include tasks only if files exist. - name: include tasks only if files exist.
include_tasks: include_tasks:

Loading…
Cancel
Save