kernel_settings
kernel_settings copied to clipboard
Add kernel_report module
New kernel_report module to pull settings from an existing template machine and apply them to a number of target machines. This also required adding "device-specific" support to the existing kernel_settings system role so that, similar to tuneD, it allows for changing kernel settings that are associated with particular devices.
A few notes about the PR and outstanding items that will need to be reviewed before merging:
- unit testing for the kernel_report module is somewhat complete and probably sufficient for now, though there could probably be more/better coverage added
- The README file needs to be updated to reflect the new formatting for some of the kernel_settings options. This format is best documented in
defaults/main.yml
, though the README should probably include it since this was significant formatting change - I did not check other ansible tests to make sure that the kernel_settings role still works in all these scenarios (the CI should catch some of those issues, though it should probably be looked over before merging since this PR brings some playbook formatting changes)
- There are a list of
sysctl
fields from Joe Mario that can be added to the list kernel_report module and tested (I will link a corresponding issue to this PR)
[citest commit:ed44dbad1e58faef5a4ca4a2db2e6cdcd0691dfe]
[citest pending]
[citest pending]
[citest bad]
[citest pending]
[citest pending]
[citest pending]
[citest pending]