New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS harden will not enable SELinux if SELinux is disabled #537
Labels
Comments
We should probably change that. I think this worked before... I do see one problem though: |
MahdiAbbasi95
added a commit
to MahdiAbbasi95/ansible-collection-hardening
that referenced
this issue
Dec 23, 2022
Signed-off-by: Mahdi Abbasi <[email protected]>
MahdiAbbasi95
added a commit
to MahdiAbbasi95/ansible-collection-hardening
that referenced
this issue
Dec 24, 2022
Signed-off-by: Mahdi Abbasi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In the OS Hardening role SELinux will not be enabled if SELinux is already disabled
Expected behavior
Expect SELinux to be enabled and configured.
Actual behavior
Example Playbook
OS / Environment
Both targets running CentOS 7
Ansible Version
Role Version
Additional context
This conditional will return false if SELinux is not enabled
ansible-collection-hardening/roles/os_hardening/tasks/hardening.yml
Line 96 in 1d3ea50
The text was updated successfully, but these errors were encountered: