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>
This commit is contained in:
Adam Miller
2020-06-18 16:02:02 -05:00
parent de75c6f325
commit cb54073f65
5 changed files with 92 additions and 0 deletions

View File