RedHat 9 and Import Scheme Changes
There a quite a few changes included with this MR, but here is my best attempt at a high-level summary:
Major Changes (at a High-Level View)
- Added support for RockyLinux 9 and AlmaLinux 9 in the GitLab CI pipeline
- Created new task files for RedHat 9 support
- Preemptively set software store to exist at
/software/r9/...
- Changed scheme for importing tasks from static, hard-coded imports to dynamic
include_tasks
- Renamed lots of individual, OS/distro-specific task files to the
{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
format to match variables. - Explicitly specified
vars/<file>
ortasks/<file>
to avoid collision - Implements changes discussed in issue #26 (closed) ; fixes #26 (closed)
- Renamed lots of individual, OS/distro-specific task files to the
- Switched RedHat 8 and 9 back to ML kernel
- Extracted GPU/GRID driver rpm/deb filename into variables, along with the client config token. This should make it easier to update, should driver versions or our file structure on the runner change.
- Separated
packages
role's task files for RedHat into individual files - Disabled aliases for
ls --color=auto
- Added a check before creating the software share directory
- If
/software
already exists, the task will be skipped - This avoids failure on repeat runs of
instance_setup
- If
Next Steps
- Build/publish software for RedHat 9
- Retire CentOS 7?
- Update Exosphere UI to advertise Rocky/Alma 9 on "Create Instance" page?
Hopefully the diff
s speak for themselves. If there are any questions, I'm happy to clarify.
Edited by Chris Martin