Files
ansible-role-common/templates/rsyslog_forwards.conf.j2
Sascha Biberhofer 0bcdf8395e rsyslog: Allow the forwarding format to be specified with the 'forward'
variable. Default to the old static value if the variable is
undefined.
2016-09-26 17:23:37 +02:00

10 lines
275 B
Django/Jinja

# {{ ansible_managed }}
{% for dest in common_rsyslog_forwards %}
$ActionQueueType LinkedList
$ActionQueueFileName {{ dest.name }}
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
*.* {{ dest.dest }};{{ dest.format | default("RSYSLOG_ForwardFormat") }}
{% endfor %}