2020-05-04 18:28:52 +02:00
|
|
|
Role Name
|
|
|
|
=========
|
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
A role that configures rsyslog
|
2020-05-04 18:28:52 +02:00
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
The most important variables are listed below:
|
2020-05-04 18:28:52 +02:00
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
``` yaml
|
|
|
|
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'
|
2020-05-04 18:28:52 +02:00
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
rsyslog_udp_port: 514
|
|
|
|
rsyslog_tcp_port: 514
|
2020-05-04 18:28:52 +02:00
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
rsyslog_send_to_remote: False
|
2020-05-04 18:28:52 +02:00
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
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
|
|
|
|
------------
|
2020-05-04 18:28:52 +02:00
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
None
|
2020-05-04 18:28:52 +02:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
EUPL-1.2
|
2020-05-04 18:28:52 +02:00
|
|
|
|
|
|
|
Author Information
|
|
|
|
------------------
|
|
|
|
|
2020-07-18 15:27:35 +02:00
|
|
|
Andrea Dell'Amico, <andrea.dellamico@isti.cnr.it>
|