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

Co-authored-by: Wojciech Ściesiński <wojciech.sciesinski@huuugegames.com>
This commit is contained in:
Wojciech Sciesinski 2021-04-29 06:32:21 +02:00 committed by GitHub
parent baa371e7b5
commit f40ab25909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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