robertdebock / ansible-role-rsyslog

Install and configure rsyslog on your system.
https://robertdebock.nl/
Apache License 2.0
36 stars 40 forks source link

Add permission parameters for omfile #2

Closed benformosa closed 4 years ago

benformosa commented 4 years ago

Is your feature request related to a problem? Please describe. I'd like to control the $FileCreateMode option for omfile. I'm working on implementing the requirements of the CIS Benchmark for RHEL 7, which requires setting $FileCreateMode to 0640, rather than the default of 0644

Describe the solution you'd like Add the directive to the template, along with the default value from the ryslog doco

Describe alternatives you've considered There are a few other roles which provide more completely templated configurations, but they are a lot more complicated to use.