Hideki Saito
73f7519133
Drop ansible-core 2.14 and set 2.15 minimum version
...
* backports #562
* fixes #578
Signed-off-by: Hideki Saito <saito@fgrep.org >
2024-10-15 16:38:47 +09:00
Adam Miller
a85f736f6a
refactor to comply with current ansible-lint and sanity guidelines
...
Signed-off-by: Adam Miller <admiller@redhat.com >
2023-12-06 17:22:59 -06:00
Hideki Saito
8f58cbb41c
Fix integration test error on ansible devel branch
...
- Remove centos6 platforms for integration tests on
the ansible devel branch from the azure-pipelines.
- Add delegate_to to each task of integration test for
synchronized module on devel branch
- Modify invalid parameter test to use key instead of name
for sysctl module
- Replace lookup plugin to slurp module in integration tests
for selinux module
- Add creating working directory task in integration tests
for acl module
Signed-off-by: Hideki Saito <saito@fgrep.org >
2021-10-04 17:10:20 +09:00
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
Abhijeet Kasurde
ea8fc70373
Fix sanity test for modules
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2021-03-02 18:53:06 +05:30
Adam Miller
cb54073f65
selinux - add missing config keys when needed
...
Previously the selinux module would only edit the state of found
configuration keys SELINUX and SELINUXTYPE in /etc/selinux/config but
would not add them with desired state if they were not found.
Fixes #23
https://github.com/ansible-collections/ansible.posix/issues/23
Signed-off-by: Adam Miller <admiller@redhat.com >
2020-06-18 17:28:59 -05:00
Ansible Core Team
6f928621f0
Initial commit
2020-03-09 13:15:28 +00:00