From 58d24584c0c5a60b8193df62e24477c8cc6edc7d Mon Sep 17 00:00:00 2001 From: Roman Gorshunov <34521622+gorshunovr@users.noreply.github.com> Date: Thu, 16 Jul 2020 19:52:14 +0200 Subject: [PATCH] Pipe lookup plugin usage example documentation fix (#70679) --- lib/ansible/plugins/lookup/pipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/pipe.py b/lib/ansible/plugins/lookup/pipe.py index 81fd42bc67a..94ad0104343 100644 --- a/lib/ansible/plugins/lookup/pipe.py +++ b/lib/ansible/plugins/lookup/pipe.py @@ -33,7 +33,7 @@ EXAMPLES = r""" - name: Always use quote filter to make sure your variables are safe to use with shell debug: - msg: "{{ lookup('pipe', 'getent ' + myuser | quote ) }}" + msg: "{{ lookup('pipe', 'getent passwd ' + myuser | quote ) }}" """ RETURN = r"""