Graylog2 / graylog-ansible-role

Ansible role which installs and configures Graylog
Apache License 2.0
212 stars 127 forks source link

SELinux - only enable permission if SELInux is actually enabled #92

Closed dot-mike closed 4 years ago

dot-mike commented 6 years ago

With #87 SELinux stuff was added, but if SELinux is disabled, it fails to enable permissions for MongoDB.

Proposed fix: when: ansible_selinux.status == "enabled" Implies that facts are gathered during runtime.

Oogy commented 4 years ago

PR for this here.