ansible.posix/plugins/modules
Ondrej Mosnacek 53d47e1763 selinux: update kernel boot params when disabling/re-enabling SELinux
The ability to disable SELinux from userspace based on the configuration
file is being deprecated in favor of the selinux=0 kernel boot
parameter. (Note that this affects only the "full" disable; switching
to/from permissive mode will work the same as before.)

Therefore, add an 'update_kernel_param' module parameter that will cause
it to set/unset the kernel command-line parameter using grubby when
enabling/disabling SELinux. (An explicit parameter was chosen for
backwards compatibility.)

More information:
https://lore.kernel.org/selinux/157836784986.560897.13893922675143903084.stgit@chester/
https://fedoraproject.org/wiki/Changes/Remove_Support_For_SELinux_Runtime_Disable

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-09-20 10:09:54 +05:30
..
__init__.py Initial commit 2020-03-09 13:15:28 +00:00
acl.py acl: Add new alias 2021-06-04 16:51:15 +05:30
at.py Append line-separator to the end of command line 2021-05-05 09:35:39 +09:00
authorized_key.py docs(authorized_key): add lookup.url example 2021-09-08 08:00:56 +02:00
firewalld.py Display warning message if wrong parameter set to masquerade or icmp-block-inversion 2021-09-06 09:14:34 +09:00
firewalld_info.py Add new firewalld_info module to ansible.posix collection 2021-07-09 23:47:12 +09:00
mount.py Merge https://github.com/ansible-collections/ansible.posix into issues/126/mount-return-backup-file 2021-06-30 04:11:28 -04:00
patch.py patch - add line break to fix pep8 error 2020-07-12 12:09:52 +02:00
seboolean.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
selinux.py selinux: update kernel boot params when disabling/re-enabling SELinux 2021-09-20 10:09:54 +05:30
synchronize.py synchronize: Use SSH args from SSH connection plugins (#223) 2021-08-11 10:45:52 +05:30
sysctl.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30