mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
2ad7ed4f83
* kernel_blacklist - revamped the module * file default and setting "lines" when file does not exist * added changelog fragment * added change in arg_spec to the documentation block * Update plugins/modules/system/kernel_blacklist.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/system/kernel_blacklist.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/system/kernel_blacklist.py Co-authored-by: Felix Fontein <felix@fontein.de> * fixed: initialize self.pattern before self.var.is_blacklisted * File writing recoded * added try/finally for the file * multiple changes: - fixed case when last line of the existing file has no newline char - added integration tests * PR: integration test now using remote_tmp_dir Co-authored-by: Felix Fontein <felix@fontein.de> |
||
---|---|---|
.. | ||
blacklist |