Go to file
Andrea Dell'Amico 2c19eff17f Fix the self signed certificate generation. 2020-07-18 17:13:31 +02:00
defaults Create a self signed certificate to initialize the TLS configuration. 2020-07-18 16:27:06 +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 Fix the self signed certificate generation. 2020-07-18 17:13:31 +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