Note
This module is part of the dellemc.openmanage collection (version 9.12.3).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install dellemc.openmanage. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: dellemc.openmanage.idrac_user.
New in dellemc.openmanage 2.1.0
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
authentication_protocol string | This option allows to configure one of the following authentication protocol types to authenticate the iDRAC user. Secure Hash Algorithm Message Digest 5 Secure Hash Algorithm 384-bit Secure Hash Algorithm 512-bit An authentication protocol is not configured if Choices:
|
ca_path path added in dellemc.openmanage 5.0.0 | The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
custom_privilege integer added in dellemc.openmanage 8.1.0 | The privilege level assigned to the user. Minimum value is 1 for iDRAC10. |
enable boolean | Provide the option to enable or disable a user from logging in to iDRAC. Choices:
|
idrac_ip string / required | iDRAC IP Address. |
idrac_password aliases: idrac_pwd string | iDRAC user password. If the password is not provided, then the environment variable Example: export IDRAC_PASSWORD=password |
idrac_port integer | iDRAC port. Default: |
idrac_user string | iDRAC username. If the username is not provided, then the environment variable Example: export IDRAC_USERNAME=username |
ipmi_lan_privilege string | The Intelligent Platform Management Interface LAN privilege level assigned to the user. Choices:
|
ipmi_serial_privilege string | The Intelligent Platform Management Interface Serial Port privilege level assigned to the user. This option is only applicable for rack and tower servers. Choices:
|
new_user_name string | Provide the user_name for the account to be modified. |
privacy_protocol string | This option allows to configure one of the following privacy encryption protocols for the iDRAC user. Data Encryption Standard Advanced Encryption Standard Advanced Encryption Standard 256-bit A privacy protocol is not configured if Choices:
|
privilege aliases: role string | Following are the role-based privileges. A user with A user with A user with A user with Will be ignored, if custom_privilege parameter is provided. Choices:
|
protocol_enable boolean | Enables protocol for the iDRAC user. Choices:
|
sol_enable boolean | Enables Serial Over Lan (SOL) for an iDRAC user. Choices:
|
state string | Select Select Choices:
|
timeout integer added in dellemc.openmanage 5.0.0 | The socket level timeout in seconds. Default: |
user_name string / required | Provide the user_name of the account to be created, deleted or modified. |
user_password string | Provide the password for the user account. The password can be changed when the user account is modified. To ensure security, the user_password must be at least eight characters long and must contain lowercase and upper-case characters, numbers, and special characters. |
validate_certs boolean added in dellemc.openmanage 5.0.0 | If Configure Prior to collection version Choices:
|
x_auth_token string added in dellemc.openmanage 9.3.0 | Authentication token. If the x_auth_token is not provided, then the environment variable Example: export IDRAC_X_AUTH_TOKEN=x_auth_token |
Note
check_mode.---
- name: Configure a new iDRAC user
dellemc.openmanage.idrac_user:
idrac_ip: 198.162.0.1
idrac_user: idrac_user
idrac_password: idrac_password
ca_path: "/path/to/ca_cert.pem"
state: present
user_name: user_name
user_password: user_password
privilege: Administrator
ipmi_lan_privilege: Administrator
ipmi_serial_privilege: Administrator
enable: true
sol_enable: true
protocol_enable: true
authentication_protocol: SHA
privacy_protocol: AES
- name: Modify existing iDRAC user username and password
dellemc.openmanage.idrac_user:
idrac_ip: 198.162.0.1
idrac_user: idrac_user
idrac_password: idrac_password
ca_path: "/path/to/ca_cert.pem"
state: present
user_name: user_name
new_user_name: new_user_name
user_password: user_password
- name: Delete existing iDRAC user account
dellemc.openmanage.idrac_user:
idrac_ip: 198.162.0.1
idrac_user: idrac_user
idrac_password: idrac_password
ca_path: "/path/to/ca_cert.pem"
state: absent
user_name: user_name
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
error_info dictionary | Details of the HTTP Error. Returned: on HTTP error Sample: |
msg string | Status of the iDRAC user configuration. Returned: always Sample: |
status dictionary | Configures the iDRAC users attributes. Returned: success Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/dellemc/openmanage/idrac_user_module.html