From 9155bc2e537e9820225933fccf9b92a46b691bff Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 6 Aug 2025 11:44:26 -0700 Subject: [PATCH] random_string: add docs to use min_* (#10610) * random_string: add docs to use min_* * Update docs for min_* usage Fixes: #10576 Signed-off-by: Abhijeet Kasurde * Review requests Signed-off-by: Abhijeet Kasurde --------- Signed-off-by: Abhijeet Kasurde --- plugins/lookup/random_string.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/lookup/random_string.py b/plugins/lookup/random_string.py index 4b227d3dca..6e2e463f39 100644 --- a/plugins/lookup/random_string.py +++ b/plugins/lookup/random_string.py @@ -25,26 +25,30 @@ options: type: int upper: description: - - Include uppercase letters in the string. + - Possibly include uppercase letters in the string. + - To ensure atleast one uppercase letter, set O(min_upper) to V(1). default: true type: bool lower: description: - - Include lowercase letters in the string. + - Possibly include lowercase letters in the string. + - To ensure atleast one lowercase letter, set O(min_lower) to V(1). default: true type: bool numbers: description: - - Include numbers in the string. + - Possibly include numbers in the string. + - To ensure atleast one numeric character, set O(min_numeric) to V(1). default: true type: bool special: description: - - Include special characters in the string. + - Possibly include special characters in the string. - Special characters are taken from Python standard library C(string). See L(the documentation of string.punctuation,https://docs.python.org/3/library/string.html#string.punctuation) for which characters are used. - The choice of special characters can be changed to setting O(override_special). + - To ensure atleast one special character, set O(min_special) to V(1). default: true type: bool min_numeric: