1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/system
Alexei Znamensky 2ad7ed4f83
kernel_blacklist - revamped the module (#3329)
* 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>
2021-09-20 19:39:35 +02:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
dconf.py
dpkg_divert.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
facter.py
filesystem.py filesystem: extend support for FreeBSD (#2902) 2021-07-10 16:37:31 +02:00
gconftool2.py
interfaces_file.py Interfaces_file - improvements (#3328) 2021-09-19 13:44:37 +02:00
iptables_state.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
java_cert.py java_cert: import certificate+key bundle from pkcs12 (#3080) 2021-07-26 11:42:13 +02:00
java_keystore.py java_keystore: fix keystore type (#2516) 2021-06-27 14:56:43 +02:00
kernel_blacklist.py kernel_blacklist - revamped the module (#3329) 2021-09-20 19:39:35 +02:00
launchd.py Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
lbu.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
listen_ports_facts.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
locale_gen.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
lvg.py
lvol.py lvol: honor check_mode on thinpool (#2935) 2021-07-05 20:46:19 +02:00
make.py
mksysb.py
modprobe.py modprobe - fix task status when module cannot be loaded (#2843) 2021-06-26 23:27:41 +12:00
nosh.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
ohai.py
open_iscsi.py open_iscsi - minor refactoring (#3286) 2021-08-31 13:09:29 +02:00
openwrt_init.py openwrt_init - improvements (#3284) 2021-08-28 21:50:09 +02:00
osx_defaults.py
pam_limits.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
pamd.py pamd - fixed issue+minor refactorings (#3285) 2021-08-31 12:34:57 +02:00
parted.py
pids.py pids - refactor module to make version-based behavior consistent (#3315) 2021-09-13 07:16:49 +02:00
puppet.py
python_requirements_info.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
runit.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
sap_task_list_execute.py SAP task list execution (#3169) 2021-08-09 22:52:44 +02:00
sefcontext.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
selinux_permissive.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
selogin.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
seport.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
shutdown.py
solaris_zone.py
ssh_config.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
svc.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
syspatch.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
sysrc.py
sysupgrade.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
timezone.py timezone: change warning to debug (#2789) 2021-06-14 18:22:01 +02:00
ufw.py Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
vdo.py vdo - refactor (#3191) 2021-08-16 12:23:06 +02:00
xfconf.py module_helper - implemented classmethod to start the module (#3206) 2021-08-17 10:43:18 +02:00
xfconf_info.py added supports_check_mode=True to info/facts modules (#3084) 2021-07-27 18:24:29 +02:00
xfs_quota.py