-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support specifying no rsyslog_mods #11
Comments
Also, when
because https://github.com/robertdebock/ansible-role-rsyslog/blob/master/templates/legacy_rsyslog.conf.j2#L40 is set when the module isnt loaded, but it's an option that only applies when that module is loaded. |
Seeing a similar issue when only including
Everything still seems to work though |
@chancez - I know this issue is now years old but I was able to get around this in a hacky way...
|
Proposed feature
Currently the assertions check if
rsyslog_mods
is defined/empty, and fails if it there isn't at least 1 module loaded. However, this validation seems unnecessary none of the allowedrsyslog_mods
are strictly required.I'm using rsyslog purely as a receiver of logs from other hosts to be forwarded to another log processing tool.
I'm using
journald
to provide/dev/log
so I don't needimmuxsock
. I don't want to useimjournal
because I don't want the host's journal logs to go to rsyslog.imklog
andimmark
aren't really needed for me either.I propose the validation on
rsyslog_mods
is either removed or changed to allow specifying an empty list.The text was updated successfully, but these errors were encountered: