From eefdf5b58ebf931138b46d20eff0118777d79240 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 17 Sep 2023 14:36:20 +0200 Subject: [PATCH] [PR #7249/4030481b backport][stable-7] ipa_user documentation: givenname and sn are required when user doesn't exist (#7281) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ipa_user documentation: givenname and sn are required when user doesn't exist (#7249) * Edit givenname and sn description. * Update plugins/modules/ipa_user.py Co-authored-by: Felix Fontein * Update plugins/modules/ipa_user.py Co-authored-by: Felix Fontein --------- Co-authored-by: Felix Fontein (cherry picked from commit 4030481b369cd4801089e5962f02a6c79fb9eb24) Co-authored-by: Christer Warén --- plugins/modules/ipa_user.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/modules/ipa_user.py b/plugins/modules/ipa_user.py index 768d004a11..88e2eb820b 100644 --- a/plugins/modules/ipa_user.py +++ b/plugins/modules/ipa_user.py @@ -30,7 +30,9 @@ options: default: 'always' choices: [ always, on_create ] givenname: - description: First name. + description: + - First name. + - If user does not exist and O(state=present), the usage of O(givenname) is required. type: str krbpasswordexpiration: description: @@ -54,7 +56,9 @@ options: - Will not be set for an existing user unless O(update_password=always), which is the default. type: str sn: - description: Surname. + description: + - Surname. + - If user does not exist and O(state=present), the usage of O(sn) is required. type: str sshpubkey: description: