rsyslog: enable RELP
This commit is contained in:
parent
ec00bf3d76
commit
be9fd29f90
@ -1,5 +1,7 @@
|
|||||||
---
|
---
|
||||||
rsyslog_package_name: rsyslog
|
rsyslog_package_name:
|
||||||
|
- rsyslog
|
||||||
|
- rsyslog-relp
|
||||||
rsyslog_package_state: present
|
rsyslog_package_state: present
|
||||||
|
|
||||||
rsyslog_service_name: rsyslog
|
rsyslog_service_name: rsyslog
|
||||||
@ -19,6 +21,7 @@ rsyslog_load_modules:
|
|||||||
permitnonkernelfacility: "on"
|
permitnonkernelfacility: "on"
|
||||||
- name: imtcp
|
- name: imtcp
|
||||||
- name: imudp
|
- name: imudp
|
||||||
|
- name: imrelp
|
||||||
|
|
||||||
rsyslog_work_directory: /var/spool/rsyslog
|
rsyslog_work_directory: /var/spool/rsyslog
|
||||||
rsyslog_include_config: /etc/rsyslog.d/*.conf
|
rsyslog_include_config: /etc/rsyslog.d/*.conf
|
||||||
|
@ -7,8 +7,9 @@
|
|||||||
|
|
||||||
- name: install package
|
- name: install package
|
||||||
package:
|
package:
|
||||||
name: "{{ rsyslog_package_name }}"
|
name: "{{ item }}"
|
||||||
state: "{{ rsyslog_package_state }}"
|
state: "{{ rsyslog_package_state }}"
|
||||||
|
loop: "{{ rsyslog_package_name }}"
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user