Manage the system users
This module ensures a particular user is present on, or absent from, the remote machine.
It ensures that the configuration of the user matches the values specified.
The user can be specified by username or by user id. If both are specified the user is found by name, and the id is set to match the id value.
Note: User creation and deletion honours the USERGROUPS_ENAB setting in /etc/login.defs on systems that use this.
(user command options)
The state the user should be in. Should be one of
Ensures the named user is present and has the specified settings
Ensures the named user is absent
A hashmap of options. All available option keys and their values are described below
The user's id number
The user's home directory path
If the user's home directory does not exist, create it.
Move the user's home directory to the new location. Only effective when modifying an existing user.
The user's primary group.
A list of groups the user should belong to
An encrypted password string to use for the user's password login.
The path to the users default shell.
The comment field to add against the user in the users database.