ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

Version management #135

Closed PolonaM closed 1 year ago

PolonaM commented 1 year ago

Added modules:

PolonaM commented 1 year ago

One thing is not covered by module - the upgrade path. I mean if you are on 9.1.3, and wont to get to 9.2.20, then you need first upgrade to 9.1.18 (or similar).

I do not think this needs to be in first version of module. I'm not sure if we need to implement this - if we do not implement, then we need to mention in documentation user needs to ensure update to provided version is valid/supported.

Maybe we also test/ask if attempt to do unsupported update can corrupt system.

If we need to somehow support upgrade to arbitrary version (e.g. multiple version), then this will be in this module, or in a additional role. We will need to have upgrade path list somewhere.

@justinc1 as discussed, I removed the progress check from the module, since it will be done as a separate task in playbook/role with version_update_status_info module. Similar with upgrade path (if this is even going to be an issue)