rsyslog: Use advanced configuration format for UDP listen
This commit is contained in:
parent
c58b73e3c7
commit
61d4754bf1
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
module(load="imudp.so")
|
||||||
$ModLoad imudp.so
|
input(type="imudp" port="514")
|
||||||
$UDPServerRun 514
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- copy:
|
- name: copy udp listen configuration
|
||||||
|
copy:
|
||||||
dest: /etc/rsyslog.d/udp-listen.conf
|
dest: /etc/rsyslog.d/udp-listen.conf
|
||||||
src: udp-listen.conf
|
src: udp-listen.conf
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
Loading…
Add table
Reference in a new issue