-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reduce complexities of kernel devel detections for EL distros
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.
- Loading branch information
1 parent
927a019
commit 3578fb9
Showing
3 changed files
with
6 additions
and
29 deletions.
There are no files selected for viewing
11 changes: 2 additions & 9 deletions
11
tasks/agent/dependencies/almalinux/install-almalinux-dependencies.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 2 additions & 11 deletions
13
tasks/agent/dependencies/centos/install-centos-dependencies.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
tasks/agent/dependencies/rockylinux/install-rockylinux-dependencies.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters