#Ansible module for ONTAP BIOS upgrade

1 messages · Page 1 of 1 (latest)

glacial carbon
#

Hi Team, do we have an module for ONTAP BIOS upgrade?

toxic pilot
#

should work with node, disk, shelf, sp, etc

glacial carbon
#

Thanks TyMercer! We noticed it doesn't support BIOS upgrade

toxic pilot
#

what type of system do you have

#

the BIOS should be updated when the newest version of ONTAP is installed, if there is an actual BIOS update available.
Unless something has changed recently

glacial carbon
#

FAS 8200 / 8300 running 9.7

toxic pilot
#

hrm. might be because in order to manually update just the BIOS it requires you to do it from the LOADER prompt, which isn't available via ansible

kind jasper
#

One may be able to fashion a playbook around using the na_ontap_ssh_command_module
https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_ssh_command_module.html#ansible-collections-netapp-ontap-na-ontap-ssh-command-module
As it allows using the SP:
https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_ssh_command_module.html#parameter-service_processor

Not though that a successful execution of a command does not mean that the results of the command indicate a success. You'll have to parse the CLI output yourself.

glacial carbon
#

na_ontap_ssh_command is tricky to manage these. It will say changed for any execution because of limitations