From 4030481b369cd4801089e5962f02a6c79fb9eb24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 17 Sep 2023 14:23:25 +0300 Subject: [PATCH] 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 --- 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: