Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reduce complexities of kernel devel detections for EL distros #14

Merged
merged 1 commit into from
May 12, 2023

Conversation

aroberts87
Copy link
Collaborator

The Install Kernel Headers (7/8) steps in the AlmaLinux, CentOSLinux, and RockyLinux dependency tasks utilized vars to loop over the supported kernel types to determine the required kernel-devel package name. Though running ansible-lint it was found that the way we were using vars, while working, was failing schema validations as the vars field expects an object and not a list like we were providing. This change removes the complexities created by that logic and will instead result in needing to create a dedicated file for Oracle Linux dependencies if we choose to add support for that distribution in the Role in the future.

The `Install Kernel Headers (7/8)` steps in the AlmaLinux, CentOSLinux,
and RockyLinux dependency tasks utilized `vars` to loop over the supported
kernel types to determine the required kernel-devel package name. Though
running `ansible-lint` it was found that the way we were using `vars`, while
working, was failing schema validations as the `vars` field expects an object
and not a list like we were providing. This change removes the complexities
created by that logic and will instead result in needing to create a dedicated
file for Oracle Linux dependencies if we choose to add support for that
distribution in the Role in the future.
@aroberts87 aroberts87 merged commit 30a84ae into main May 12, 2023
@aroberts87 aroberts87 deleted the reduce_el_kernel_devel_complexity branch May 12, 2023 19:56
@aroberts87 aroberts87 added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant