- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- [iLO][ansible] “category” and “command” parameters
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday - last edited yesterday by support_s
Tuesday - last edited yesterday by support_s
Hello,
We have many ProLiant DL360 Gen11; iLO 6 1.66.
We want to use ansible for change and verify some parameter but we don't understand how to configure theres modules.
Ansible module are redfish_info, redfish_command, redfish_config, ilo_redfish_config, ilo_redfish_info from https://github.com/HewlettPackard/ilo-ansible-collection/tree/main.
1) If I've understood correctly, the ilo_redshift modules are overlays on the redshift modules to address Dell-specific functionality. Right ?
2) Where can I find the list of categories and commands that can be placed in “category” and “command”?
For example, I search to set 'Power Regulator Settings' to 'Dynamic Power Savings Mode'.
How can I found the “category” and “command”? I have found the parameter "EnergyPerfBias", but the Bios categorie doesn't exist
https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/ilo5/ilo5_309/ilo5_bios_resourcedefns309/#attributes
thx
Solved! Go to Solution.
- Tags:
- iLO_OA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yesterday
Solutionok
For example: if you search 'Power Regulator Settings'.
You find it on https://servermanagementportal.ext.hpe.com/docs/redfishservices/ilos/ilo5/ilo5_309/ilo5_bios_resourcedefns309/.
It's "EnergyPerfBias"
So it's on the systems category and it's a bios attribute (/redfish/v1/systems/{item}/bios)
So:
- for get: https://github.com/HewlettPackard/ilo-ansible-collection/blob/main/roles/getbiosattr/tasks/main.yml
- for change: https://github.com/HewlettPackard/ilo-ansible-collection/blob/main/roles/changbiosattr/tasks/main.yml
- name: Get Bios Attributes
community.general.redfish_info:
category: Systems
command: GetBiosAttributes
baseuri: "{{ iLO_ip }}"
username: "{{ iLO_user }}"
password: "{{ iLO_password }}"
- name: Set Energy Perf
community.general.redfish_config:
category: Systems
command: SetBiosAttributes
bios_attributes: "{ 'EnergyPerfBias': 'PowerSavingsMode'}"
baseuri: "{{ iLO_ip }}"
username: "{{ iLO_user }}"
password: "{{ iLO_password }}"