Welcome to my first real blog post.
This is a simple Ansible playbook to update iLO firmware on HPE servers. The only prerequisite is that you need a webserver to server up the firmware file. As an Ansible rookie, it took me a while to figure out I needed to use raw commands since iLO doesn’t have a traditional shell.
If you are looking for a good place to start with Ansible, check out Jeff Geerling’s YouTube channel
and here is the playbook….
--- - hosts: hp_hosts gather_facts: no tasks: - name: CHANGE DIR raw: 'cd /map1/firmware1' - name: UPDATE FIRMWARE raw: 'load -source http://webserver/ilo.bin'