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:
parent
baa371e7b5
commit
f40ab25909
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue