This module allows you to create, update or remove a user.
Example Syntax
name:Create userionoscloudsdk.ionoscloud.user:firstname:Johnlastname:Doeemail:''administrator:falseuser_password:'{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_letters,digits') }}'force_sec_auth:falsestate:presentcheck_mode:truediff:trueregister:user_responsename:Add user to first groupionoscloudsdk.ionoscloud.user:user:''groups: - 'AnsibleAutoTestUM 1'state:updatename:Delete userionoscloudsdk.ionoscloud.user:user:''state:absentcheck_mode:truediff:trueregister:user_response
Indicates if secure authentication should be forced on the user.
groups
list
False
A list of group IDs or names where the user (non-administrator) is to be added. Set to empty list ([]) to remove the user from all groups.
sec_auth_active
bool
False
Indicates if secure authentication is active for the user.
ignored_properties
list
False
A list of field to ignore changes to when evaluating whether to make changes to the ionos resource. These fields will still be used when creating or recreating the resource, but will not cause the operation themselves
Default:
api_url
str
False
The Ionos API base URL.
certificate_fingerprint
str
False
The Ionos API certificate fingerprint.
username
str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password
str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token
str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait
bool
False
Wait for the resource to be created before returning.
Default: True
Options: [True, False]
wait_timeout
int
False
How long before wait gives up, in seconds.
Default: 600
state
str
False
Indicate desired state of the resource.
Default: present
Options: ['present', 'absent', 'update']
user
str
True
The ID or name of the user.
api_url
str
False
The Ionos API base URL.
certificate_fingerprint
str
False
The Ionos API certificate fingerprint.
username
str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password
str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token
str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait
bool
False
Wait for the resource to be created before returning.
Default: True
Options: [True, False]
wait_timeout
int
False
How long before wait gives up, in seconds.
Default: 600
state
str
False
Indicate desired state of the resource.
Default: present
Options: ['present', 'absent', 'update']
firstname
str
False
The first name of the user.
lastname
str
False
The last name of the user.
email
str
False
The email address of the user.
user
str
True
The ID or name of the user.
user_password
str
False
A password for the user.
administrator
bool
False
Indicates if the user has admin rights.
force_sec_auth
bool
False
Indicates if secure authentication should be forced on the user.
groups
list
False
A list of group IDs or names where the user (non-administrator) is to be added. Set to empty list ([]) to remove the user from all groups.
sec_auth_active
bool
False
Indicates if secure authentication is active for the user.
ignored_properties
list
False
A list of field to ignore changes to when evaluating whether to make changes to the ionos resource. These fields will still be used when creating or recreating the resource, but will not cause the operation themselves
Default:
api_url
str
False
The Ionos API base URL.
certificate_fingerprint
str
False
The Ionos API certificate fingerprint.
username
str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password
str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token
str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait
bool
False
Wait for the resource to be created before returning.
Default: True
Options: [True, False]
wait_timeout
int
False
How long before wait gives up, in seconds.
Default: 600
state
str
False
Indicate desired state of the resource.
Default: present
Options: ['present', 'absent', 'update']