rsyslog: enable RELP

This commit is contained in:
Ryan Cavicchioni 2022-08-30 06:48:21 -05:00
parent ec00bf3d76
commit be9fd29f90
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
---
rsyslog_package_name: rsyslog
rsyslog_package_name:
- rsyslog
- rsyslog-relp
rsyslog_package_state: present
rsyslog_service_name: rsyslog
@ -19,6 +21,7 @@ rsyslog_load_modules:
permitnonkernelfacility: "on"
- name: imtcp
- name: imudp
- name: imrelp
rsyslog_work_directory: /var/spool/rsyslog
rsyslog_include_config: /etc/rsyslog.d/*.conf

View File

@ -7,8 +7,9 @@
- name: install package
package:
name: "{{ rsyslog_package_name }}"
name: "{{ item }}"
state: "{{ rsyslog_package_state }}"
loop: "{{ rsyslog_package_name }}"
- name: configure
template: