-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem using network capability #16
Comments
I suspect that What OS release and Ansible version are you using? |
I changed to |
Weird. I'm currently working on something else, I'll check this out at some other time. I presume that you don't use |
You are right, i am not using
|
OS version: Ubuntu 16.04.2 LTS bwt thank for your fast reply ! |
Hi !
Im trying to configure a centralized rsyslog server.
After i enable the 'network' capability, the rsyslog throws an error:
rsyslogd-2209: input module name 'imudp' is unknown [v8.16.0 try http://www.rsyslog.com/e/2209 ]
It seems the role is generating the input file, but the network module file is empty.
After checking the code, some conditions does not match in defaults/main.yml file:
- comment: 'Enable UDP support' options: |- module(load="imudp") state: '{{ "present" if (rsyslog__send_over_tls_only) else "absent" }}'
...
- comment: 'Log messages from remote hosts over UDP' options: |- input( type="imudp" port="{{ rsyslog__udp_port }}" ruleset="remote" ) state: '{{ "present" if (not rsyslog__send_over_tls_only) else "absent" }}'
If rsyslog__send_over_tls_only is not enabled, the input is defined and the module is not loaded. If you use tls_only, the module is loaded but the input is not defined.
¿ is this some kind of restriction to force use of tls ? ¿ is there some configuration option to aviod it ?
The text was updated successfully, but these errors were encountered: