dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

[FEATURE]: Add reboot options to module dellemc.openmanage.ome_firmware #505

Closed sbeyermann closed 1 year ago

sbeyermann commented 1 year ago

Describe the solution you'd like Most firmware updates require a reboot. When the ansible module dellemc.openmanage.ome_firmware is used to update firmware, it is possible to use the schedule parameter to schedule the necessary reboot to RebootNow or StageForNextReboot. However when RebootNow is used, I have not found a way to specify the type of reboot.

In the Dell OpenManage Enterprise web interface there are three different types of immediate reboots in the "Device Compliance Dialog":

For me it currently looks like "Power Cycle" is always used when RebootNow is selected as the firmware update schedule. It would be great if the dellemc.openmanage.ome_firmware module enabled the users to select which type of reboot they would prefer in their ansible scripts.

Describe alternatives you've considered If a graceful reboot should be achieved, the schedule parameter could be set to StageForNextReboot and another task added to the playbook in which the target system is rebooted with the ansible.builtin.reboot module. However for this to work, credentials for the target system are required whereas the dellemc.openmanage.ome_firmware module only requires credentials for Dell OpenManage Enterprise.

Additional context Maybe I am wrong and the default reboot type is not power cycle or the reboot type can be specified. I would appreciate an according feedback.

Community Note

anupamaloke commented 1 year ago

@sbeyermann , sorry for delayed response. This has been added to the backlog and will be accordingly prioritized for future releases.