From f40ab259097995a7e7790831a3bba25df8212c35 Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Thu, 29 Apr 2021 06:32:21 +0200 Subject: [PATCH] Improve a documentation of the first_found lookup plugin (#73080) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wojciech Ściesiński --- lib/ansible/plugins/lookup/first_found.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/plugins/lookup/first_found.py b/lib/ansible/plugins/lookup/first_found.py index c388f2b3e62..f6951b16312 100644 --- a/lib/ansible/plugins/lookup/first_found.py +++ b/lib/ansible/plugins/lookup/first_found.py @@ -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: