-
Notifications
You must be signed in to change notification settings - Fork 154
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
selinux modules don't change SELINUXTYPE when it's not exist in /etc/selinux/config. #23
Comments
maxamillion
added a commit
to maxamillion/ansible.posix
that referenced
this issue
Jun 18, 2020
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 ansible-collections#23 ansible-collections#23 Signed-off-by: Adam Miller <[email protected]>
maxamillion
added a commit
to maxamillion/ansible.posix
that referenced
this issue
Jun 18, 2020
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 ansible-collections#23 ansible-collections#23 Signed-off-by: Adam Miller <[email protected]>
Fixed here: #52 |
maxamillion
added a commit
to maxamillion/ansible.posix
that referenced
this issue
Jun 18, 2020
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 ansible-collections#23 ansible-collections#23 Signed-off-by: Adam Miller <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
SELinux moduled does not add new SELINUXTYPE line in /etc/selinux/config when that line does not exits.
ISSUE TYPE
COMPONENT NAME
selinux
ANSIBLE VERSION
CONFIGURATION
Ansible tasks
/etc/selinux/config
EXPECTED RESULTS
/etc/selinux/config
ACTUAL RESULTS
/etc/selinux/config
tasks log
task log says "policy was changed to targeted" but not reflected to the config file.
The text was updated successfully, but these errors were encountered: