ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
835 stars 1.54k forks source link

Set SecureBoot and SecureBootPolicy #7961

Open DoktorByte opened 9 months ago

DoktorByte commented 9 months ago

Summary

Hello everyone, I would like to have the possibility to set the options SecureBoot and SecureBootPolicy

Issue Type

Feature Idea

Component Name

idrac_redfish_config

Additional Information

community.general.idrac_redfish_config:
  category: Manager
  command: SetSystemAttributes
  resource_id: iDRAC.Embedded.1
  manager_attributes:
    SecureBoot: "Enabled"
    SecureBootPolicy: "VmwareBoot"
  baseuri: "{{ var_role_hostip }}"
  username: "{{ var_role_username}}"
  password: "{{ var_role_password }}"

Code of Conduct

ansibullbot commented 9 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 9 months ago

cc @bhavya06 @jyundt @mraineri @rajeevkallur @renxulei @tomasg2012 @xmadsen click here for bot help

mraineri commented 5 months ago

Does this really need to be specific to iDRAC? Those "SystemAttributes" are very specific to what iDRAC supports, and from looking at a few PowerEdge servers, there's no control of that available in the iDRAC's system attributes OEM resource.

Unfortunately Ansible can't modify attributes that are not supported by iDRAC, but the current version of the "SetSystemAttributes" allows you to modify any system attribute supported by iDRAC.