community.general.ilo_redfish_config module – Sets or updates configuration attributes on HPE iLO with Redfish OEM extensions
Note
This module is part of the community.general collection (version 10.7.5).
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 community.general.
To use it in a playbook, specify: community.general.ilo_redfish_config.
New in community.general 4.2.0
Synopsis
- Builds Redfish URIs locally and sends them to iLO to set or update a configuration attribute. 
- For use with HPE iLO operations that require Redfish OEM extensions. 
Parameters
| Parameter | Comments | 
|---|---|
| Name of the attribute to be configured. | |
| Value of the attribute to be configured. | |
| Security token for authenticating to iLO. | |
| Base URI of iLO. | |
| PEM formatted file that contains a CA certificate to be used for validation. Only used if  | |
| Command category to execute on iLO. Choices: 
 | |
| TLS/SSL Ciphers to use for the request. When a list is provided, all ciphers are joined in order with  See the OpenSSL Cipher List Format for more details. The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions. | |
| List of commands to execute on iLO. | |
| Password for authenticating to iLO. | |
| Timeout in seconds for HTTP requests to iLO. Default:  | |
| Username for authenticating to iLO. | |
| If  Set this to  Choices: 
 | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: none | Can run in  | |
| Support: none | Will return details on what has changed (or possibly needs changing in  | 
Examples
- name: Disable WINS Registration
  community.general.ilo_redfish_config:
    category: Manager
    command: SetWINSReg
    baseuri: 15.X.X.X
    username: Admin
    password: Testpass123
    attribute_name: WINSRegistration
- name: Set Time Zone
  community.general.ilo_redfish_config:
    category: Manager
    command: SetTimeZone
    baseuri: 15.X.X.X
    username: Admin
    password: Testpass123
    attribute_name: TimeZone
    attribute_value: Chennai
- name: Set NTP Servers
  community.general.ilo_redfish_config:
    category: Manager
    command: SetNTPServers
    baseuri: 15.X.X.X
    username: Admin
    password: Testpass123
    attribute_name: StaticNTPServers
    attribute_value: X.X.X.X
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| Message with action result or error description. Returned: always Sample:  | 
