Closed willifehler closed 3 months ago
I was able to get the Server Name working by using redfish_config but it seems that Server FQDN is not implemented yet by checking the code.
- name: Set BIOS attributes
community.general.redfish_config:
category: Systems
command: SetBiosAttributes
resource_id: 1
baseuri: "{{ ansible_host }}"
username: "{{ ilo_user }}"
password: "{{ ilo_password }}"
bios_attributes:
ServerName: "{{ ilo_servername }}"
register: biossettings
ServerName
in the BIOS, it is usually automatically set by the OS when running the Agentless Management Service (AMSD). Read carefully AMSD documentation to evaluate what it does and if you don't want to install it in your OS.ServerFDQN
is not a DMTF standard property. This is why it is not part of DMTF playbook. If not present in HPE iLO playbooks, you may want to request it here. In the meantime, this property is in the Oem/Hpe
extension under /redfish/v1/Systems/1
. See screenshot below showing a PATCH request to modify it. I am sure you'll be able to translate that into your playbooks.Hi @donzef,
I've already implemented the FQDN by patching it on my own. Thanks a lot.
Willi
Hey there,
is it already possible to set the Server Name and Server FQDN? (not the iLO hostname)
Cheers - Willi