From dafdcf286aad9f390e6e018183ddeb0afbfeff3d Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 5 Apr 2019 22:11:14 +0200 Subject: [PATCH] passwordstore: add hint for subkey=password (#54221) Clarify that subkey=password will always return the first line. Adding a YAML style subkey called "password" is not possible. --- lib/ansible/plugins/lookup/passwordstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/passwordstore.py b/lib/ansible/plugins/lookup/passwordstore.py index be74dc9b8b..971029d484 100644 --- a/lib/ansible/plugins/lookup/passwordstore.py +++ b/lib/ansible/plugins/lookup/passwordstore.py @@ -38,7 +38,7 @@ DOCUMENTATION = """ type: bool default: 'no' subkey: - description: Return a specific subkey of the password. + description: Return a specific subkey of the password. When set to C(password), always returns the first line. default: password userpass: description: Specify a password to save, instead of a generated one.