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 <felix@fontein.de>

* Update plugins/modules/ipa_user.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/7286/head
Christer Warén 2023-09-17 14:23:25 +03:00 committed by GitHub
parent 8a9b98273d
commit 4030481b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,9 @@ options:
default: 'always' default: 'always'
choices: [ always, on_create ] choices: [ always, on_create ]
givenname: 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 type: str
krbpasswordexpiration: krbpasswordexpiration:
description: description:
@ -54,7 +56,9 @@ options:
- Will not be set for an existing user unless O(update_password=always), which is the default. - Will not be set for an existing user unless O(update_password=always), which is the default.
type: str type: str
sn: sn:
description: Surname. description:
- Surname.
- If user does not exist and O(state=present), the usage of O(sn) is required.
type: str type: str
sshpubkey: sshpubkey:
description: description: