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
patchback[bot] d4637e9b1c
kernel_blacklist - revamped the module (#3329) (#3409)
* 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>
(cherry picked from commit 2ad7ed4f83)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-09-20 19:58:05 +02:00
..
aix_devices.py Tidy up validate-modules:doc-required-mismatch (#1415) 2020-11-28 14:06:28 +01:00
aix_filesystem.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_inittab.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_lvg.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
aix_lvol.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
alternatives.py Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
awall.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
beadm.py rewritten as list literals (#2160) 2021-04-05 09:22:06 +02:00
capabilities.py [capabilities] fix for a newer versions of libcap (#1061) 2020-10-16 21:03:54 +02:00
cronvar.py Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
crypttab.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
dconf.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
dpkg_divert.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
facter.py Added Arguments for Facter module (#768) 2020-11-23 18:59:09 +01:00
filesystem.py filesystem: extend support for FreeBSD (#2902) (#2983) 2021-07-10 16:56:09 +02:00
gconftool2.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
interfaces_file.py Interfaces_file - improvements (#3328) (#3396) 2021-09-19 14:09:07 +02:00
iptables_state.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
java_cert.py java_cert: import certificate+key bundle from pkcs12 (#3080) (#3086) 2021-07-26 12:06:11 +02:00
java_keystore.py java_keystore: fix keystore type (#2516) (#2893) 2021-06-27 15:44:31 +02:00
kernel_blacklist.py kernel_blacklist - revamped the module (#3329) (#3409) 2021-09-20 19:58:05 +02:00
launchd.py [PR #3194/1fec1d0c backport][stable-3] Fix sanity failures (#3195) 2021-08-12 13:46:55 +02:00
lbu.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
listen_ports_facts.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
locale_gen.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
lvg.py Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
lvol.py lvol: honor check_mode on thinpool (#2935) (#2939) 2021-07-05 21:03:12 +02:00
make.py added jobs parameter to make module (#1550) 2021-01-16 22:12:45 +01:00
mksysb.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
modprobe.py modprobe - fix task status when module cannot be loaded (#2843) (#2880) 2021-06-26 13:45:13 +02:00
nosh.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
ohai.py
open_iscsi.py open_iscsi - minor refactoring (#3286) (#3310) 2021-08-31 15:04:39 +02:00
openwrt_init.py openwrt_init - improvements (#3284) (#3287) 2021-08-28 22:43:33 +02:00
osx_defaults.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
pam_limits.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
pamd.py pamd - fixed issue+minor refactorings (#3285) (#3309) 2021-08-31 12:59:36 +02:00
parted.py Fix repeated word in description of fs_type (#2717) (#2719) 2021-06-04 21:12:40 +02:00
pids.py pids - refactor module to make version-based behavior consistent (#3315) (#3365) 2021-09-13 07:35:26 +02:00
puppet.py puppet - replace stdout with console in logdest option (#2407) (#2421) 2021-05-03 07:59:33 +02:00
python_requirements_info.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
runit.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
sap_task_list_execute.py SAP task list execution (#3169) (#3187) 2021-08-09 23:12:35 +02:00
sefcontext.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
selinux_permissive.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
selogin.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
seport.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
shutdown.py New module: shutdown (#700) 2020-08-11 17:54:41 +02:00
solaris_zone.py Enabling validation-modules for system modules (#1212) 2020-11-04 09:02:50 +01:00
ssh_config.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
svc.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
syspatch.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
sysrc.py New sysrc module for managing rc files on FreeBSD (#1460) 2021-01-16 14:14:23 +01:00
sysupgrade.py mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
timezone.py timezone: change warning to debug (#2789) (#2803) 2021-06-14 19:11:39 +02:00
ufw.py [PR #3194/1fec1d0c backport][stable-3] Fix sanity failures (#3195) 2021-08-12 13:46:55 +02:00
vdo.py vdo - refactor (#3191) (#3213) 2021-08-16 12:33:09 +00:00
xfconf.py module_helper - implemented classmethod to start the module (#3206) (#3225) 2021-08-17 11:29:11 +02:00
xfconf_info.py added supports_check_mode=True to info/facts modules (#3084) (#3094) 2021-07-27 17:23:10 +00:00
xfs_quota.py bugfix: xfs_quota feedback on projects not initialized has changed (#1596) 2021-02-27 08:38:24 +01:00