Go to file
Andrea Dell'Amico 3a9ab645f6
Manage the logging into /var/log/syslog.
2023-11-10 13:44:15 +01:00
defaults Manage the logging into /var/log/syslog. 2023-11-10 13:44:15 +01:00
handlers Manage the logging into /var/log/syslog. 2023-11-10 13:44:15 +01:00
meta Manage the logging into /var/log/syslog. 2023-11-10 13:44:15 +01:00
tasks Manage the logging into /var/log/syslog. 2023-11-10 13:44:15 +01:00
templates Manage the logging into /var/log/syslog. 2023-11-10 13:44:15 +01: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