You can update your HCOS cluster through FleetManager or the HCOS web UI, but that is a whole lot of clicking and goofin with mouse buttons. Boo.
Thankfully, Scale’s ansible gallery lets us kick this off, easy-peasy. The only info you need is the full version number of the update, which you can get from ansible, or from the Web UI.
Pictured, you can see that we have 9.4.30.217736 available. That makes our playbook look like so:
- name: Scale HyperCore 9.4.30 Update
hosts: all
connection: ansible.builtin.local
gather_facts: false
environment:
SC_HOST: "https://{{ ansible_host }}"
SC_USERNAME: "{{ scale_admin_user }}"
SC_PASSWORD: "{{ scale_admin_pass }}"
tasks:
- name: Update Hypercore Version 9.4.30.217736
scale_computing.hypercore.version_update:
icos_version: 9.4.30.217736
Now, assuming you have your inventory files (and if you don’t, Check this article out), and your variables all sorted out (like This Article), you run this like so:
ansible-playbook RunVersionUpdate-9.4.30.yaml -e@rf_vars-omv.yaml -i 1-production-inventory.yml
And it looks like this:
And when they all start, it looks like this!