user_present
Ensure a user exists on the system.
⚙️ Compatible targets: Linux, Windows
Parameters
Name | Documentation |
---|---|
login | User login. This parameter is required. |
Example
method: user_present
params:
login: VALUE
Documentation
This method does not create the user's home directory. Primary group will be created and set with default one, following the useradd default behavior. As in most UNIX system default behavior user creation will fail if a group with the user name already exists.