diff --git a/README-user.md b/README-user.md index 6cb3e62908ec2ffba6f0533d888bf1d94da1e5db..ec0f6cfda9344c93e846a5e548451e12f80f8996 100644 --- a/README-user.md +++ b/README-user.md @@ -381,8 +381,8 @@ Variable | Description | Required Variable | Description | Required -------- | ----------- | -------- -`first` \| `givenname` | The first name string. | no -`last` \| `sn` | The last name string. | no +`first` \| `givenname` | The first name string. Required if user does not exist. | no +`last` \| `sn` | The last name string. Required if user does not exist. | no `fullname` \| `cn` | The full name string. | no `displayname` | The display name string. | no `homedir` | The home directory string. | no diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 739b27b560da88fe0f74216f0160d6473c21107e..ec185229311b1bb828cbfcf2434a81c61eb01aac 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -47,11 +47,11 @@ options: description: The user (internally uid). required: true first: - description: The first name + description: The first name. Required if user does not exist. required: false aliases: ["givenname"] last: - description: The last name + description: The last name. Required if user doesnot exst. required: false aliases: ["sn"] fullname: @@ -212,11 +212,11 @@ options: type: bool required: false first: - description: The first name + description: The first name. Required if user does not exist. required: false aliases: ["givenname"] last: - description: The last name + description: The last name. Required if user does not exist. required: false aliases: ["sn"] fullname: