From bf4e0166a56adb8d22047ba4b0e7c3c34efa431a Mon Sep 17 00:00:00 2001 From: aaronk1 Date: Thu, 6 Apr 2023 16:06:41 -0400 Subject: [PATCH] Update password.py documentation (#80297) * Update password.py documentation with new semantic markup --- lib/ansible/plugins/lookup/password.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/plugins/lookup/password.py b/lib/ansible/plugins/lookup/password.py index 437dff6fa7a..e38d9c43cff 100644 --- a/lib/ansible/plugins/lookup/password.py +++ b/lib/ansible/plugins/lookup/password.py @@ -45,6 +45,9 @@ DOCUMENTATION = """ version_added: "1.4" description: - A list of names that compose a custom character set in the generated passwords. + - This parameter defines the possible character sets in the resulting password, not the required character sets. + If you want to require certain character sets for passwords, you can use the C(community.general.random_string lookup) plugin - + P(community.general.random_string#lookup). - 'By default generated passwords contain a random mix of upper and lowercase ASCII letters, the numbers 0-9, and punctuation (". , : - _").' - "They can be either parts of Python's string module attributes or represented literally ( :, -)." - "Though string modules can vary by Python version, valid values for both major releases include: