From 566ef91e263c9799e7505b720e85605a6dd2bd9d Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 17 Mar 2017 11:16:06 -0400 Subject: [PATCH] fixed passwordstore lookup examples plugin was renamed before acceptance, but examples kept original name fixes #22735 (cherry picked from commit 6a2985dd3cdbc967ff7d7e9625af1d517a425a33) --- docs/docsite/rst/playbooks_lookups.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docsite/rst/playbooks_lookups.rst b/docs/docsite/rst/playbooks_lookups.rst index 7dbd4f2489f..53b082d6180 100644 --- a/docs/docsite/rst/playbooks_lookups.rst +++ b/docs/docsite/rst/playbooks_lookups.rst @@ -116,27 +116,27 @@ Examples -------- Basic lookup. Fails if example/test doesn't exist:: - password="{{ lookup('pass', 'example/test')}}` + password="{{ lookup('passwordstore', 'example/test')}}` Create pass with random 16 character password. If password exists just give the password:: - password="{{ lookup('pass', 'example/test create=true')}}` + password="{{ lookup('passwordstore', 'example/test create=true')}}` Different size password:: - password="{{ lookup('pass', 'example/test create=true length=42')}}` + password="{{ lookup('passwordstore', 'example/test create=true length=42')}}` Create password and overwrite the password if it exists. As a bonus, this module includes the old password inside the pass file:: - password="{{ lookup('pass', 'example/test create=true overwrite=true')}}` + password="{{ lookup('passwordstore', 'example/test create=true overwrite=true')}}` Return the value for user in the KV pair user: username:: - password="{{ lookup('pass', 'example/test subkey=user')}}` + password="{{ lookup('passwordstore', 'example/test subkey=user')}}` Return the entire password file content:: - password="{{ lookup('pass', 'example/test returnall=true')}}` + password="{{ lookup('passwordstore', 'example/test returnall=true')}}` The location of the password-store directory can be specified in the following ways: - Default is ~/.password-store