From 3cdb968ebe6b89f6c9f56c6a1718969fedb1ba32 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Thu, 7 Nov 2013 16:45:52 -0500 Subject: [PATCH] Fix some information in the docsite for the password lookup plugin --- docsite/rst/playbooks_lookups.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docsite/rst/playbooks_lookups.rst b/docsite/rst/playbooks_lookups.rst index 6c998bcf605..817e4481013 100644 --- a/docsite/rst/playbooks_lookups.rst +++ b/docsite/rst/playbooks_lookups.rst @@ -36,7 +36,7 @@ file exists previously, it will retrieve its contents, behaving just like with_f up random passwords per host (what simplifies password management in 'host_vars' variables). Generated passwords contain a random mix of upper and lowercase ASCII letters, the -numbers 0-9 and punctuation (". , : - _"). The default length of a generated password is 30 characters. +numbers 0-9 and punctuation (". , : - _"). The default length of a generated password is 20 characters. This length can be changed by passing an extra parameter:: --- @@ -51,6 +51,8 @@ This length can be changed by passing an extra parameter:: (...) +.. note:: If the file already exists, no data will be written to it. If the file has contents, those contents will be read in as the password. Empty files cause the password to return as an empty string + .. _more_lookups: More Lookups