name: Pull request
about: Add variables to setup default rules
Describe the change
Currently if you set the variable rsyslog_deploy_default_config to no, the default file is not deployed. In the template you have a condition {% if rsyslog_deploy_default_config %} which is never true.
So I replaced in the template by a new variables called rsyslog_default_rules containing the rules.
Testing
Deployed with the default values and with a variable rsyslog_default_rules containing some new default rules.
name: Pull request about: Add variables to setup default rules
Describe the change Currently if you set the variable rsyslog_deploy_default_config to no, the default file is not deployed. In the template you have a condition
{% if rsyslog_deploy_default_config %}
which is never true. So I replaced in the template by a new variables calledrsyslog_default_rules
containing the rules.Testing Deployed with the default values and with a variable
rsyslog_default_rules
containing some new default rules.