From 691fbd083e9e21fcbd4f4571801d191db1a7b6b4 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Mon, 20 Feb 2023 14:56:27 -0300 Subject: [PATCH] ipauser: Better description of UID and GID parameters This patch provides better text for the description of UID and GID parameters. --- README-user.md | 4 ++-- plugins/modules/ipauser.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README-user.md b/README-user.md index ec0f6cfda9..d3e2ae8af6 100644 --- a/README-user.md +++ b/README-user.md @@ -393,8 +393,8 @@ Variable | Description | Required `passwordexpiration` \| `krbpasswordexpiration` | The kerberos password expiration date. Possible formats: `YYYYMMddHHmmssZ`, `YYYY-MM-ddTHH:mm:ssZ`, `YYYY-MM-ddTHH:mmZ`, `YYYY-MM-ddZ`, `YYYY-MM-dd HH:mm:ssZ` or `YYYY-MM-dd HH:mmZ`. The trailing 'Z' can be skipped. Only usable with IPA versions 4.7 and up. | no `password` | The user password string. | no `random` | Generate a random user password | no -`uid` \| `uidnumber` | The UID integer. | no -`gid` \| `gidnumber` | The GID integer. | no +`uid` \| `uidnumber` | User ID Number (system will assign one if not provided). | no +`gid` \| `gidnumber` | Group ID Number. | no `city` | City | no `userstate` \| `st` | State/Province | no `postalcode` \| `zip` | Postalcode/ZIP | no diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 2d928f8eb6..c409bf5164 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -124,12 +124,12 @@ required: false type: bool uid: - description: The UID + description: User ID Number (system will assign one if not provided) type: int required: false aliases: ["uidnumber"] gid: - description: The GID + description: Group ID Number type: int required: false aliases: ["gidnumber"] @@ -348,12 +348,12 @@ required: false type: bool uid: - description: The UID + description: User ID Number (system will assign one if not provided) type: int required: false aliases: ["uidnumber"] gid: - description: The GID + description: Group ID Number type: int required: false aliases: ["gidnumber"]