Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use selinux role instead of selinux cli
The motivation was getting rid of the need to use the `ansible_selinux` fact. The configuration of the selinux policy for the collectd port was using a `shell`. This has been changed to use the selinux role. In addition - the logic would cause rsyslogd to restart every time, so that logic has been preserved. I don't think anyone is using the ovirt functionality, so it probably doesn't matter, but in the future we should make the configuration of the port conditional on `logging_manage_selinux`, possibly also configure firewall, and make the `notify` conditional upon changes. Signed-off-by: Rich Megginson <[email protected]>
- Loading branch information