f5os_user – Manage Users and roles on F5OS based systems¶
New in version 1.9.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments |
|---|---|---|---|
|
expiry_status
string
|
Account expiration date. Value can be YYYY-MM-DD string or
enabled or locked |
||
|
role
string
/ required
|
Specifies Primary Role assigned to the user.
|
||
|
state
string
|
|
The NTP server state.
If
present, creates the specified NTP server if it does not exist, or updates the existing one.If
absent, deletes the NTP server if it exists. |
|
|
username
string
/ required
|
Specifies Assigned username of User.
|
Examples¶
- name: Create User Role
f5os_user:
username: testuser
role: resource-admin
- name: Update User Role
f5os_user:
username: testuser
role: operator
- name: Delete User Role
f5os_user:
username: testuser
role: operator
state: absent
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
role
string
|
changed |
Specifies Primary Role assigned to the user.
Sample:
operator
|
|
username
string
|
changed |
Specifies Assigned username of User.
Sample:
testuser
|