Go to file
Andrea Dell'Amico 9e5937ac13 Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
defaults Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
handlers Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
meta Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
tasks Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
templates Import the old rsyslog role. 2020-07-18 15:27:35 +02:00
tests Initial commit 2020-05-04 18:28:52 +02:00
vars Initial commit 2020-05-04 18:28:52 +02:00
.gitignore Initial commit 2020-05-04 18:28:52 +02:00
LICENSE Initial commit 2020-05-04 18:28:52 +02:00
README.md Import the old rsyslog role. 2020-07-18 15:27:35 +02:00

README.md

Role Name

A role that configures rsyslog

Role Variables

The most important variables are listed below:

rsyslog_enable_remote_socket: False
rsyslog_enable_remote_udp: 'enabled'
rsyslog_enable_remote_tcp: 'disabled'

rsyslog_remote_path: /var/log/remote
rsyslog_tls_status: 'disabled'
rsyslog_tls_deb_pkgs:
  - 'rsyslog-gnutls'

rsyslog_tls_rh_pkgs:
  - 'rsyslog-gnutls'

rsyslog_udp_port: 514
rsyslog_tcp_port: 514

rsyslog_send_to_remote: False

rsyslog_firewalld_services:
  - { service: 'syslog', state: '{{ rsyslog_enable_remote_udp }}', zone: '{{ firewalld_default_zone }}' }
  - { service: 'syslog-tls', state: '{{ rsyslog_tls_status }}', zone: '{{ firewalld_default_zone }}'  }

rsyslog_firewalld_ports:
  - { port: '{{ rsyslog_tcp_port }}', protocol: 'tcp', state: '{{ rsyslog_enable_remote_tcp }}', zone: '{{ firewalld_default_zone }}'  }

rsyslog_send_to_elasticsearch: False

rsyslog_use_inotify: True
# Not used when inotify is enabled
rsyslog_file_polling_interval: 10

Dependencies

None

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it