ansible/playbooks/rsyslog.yml
2021-11-28 17:09:16 +01:00

26 lines
501 B
YAML
Executable file

#!/usr/bin/env ansible-playbook
---
- hosts: log.adm.auro.re
vars:
rsyslog_collector_base_dir: /var/log/remote
rsyslog_inputs:
- proto: relp
port: 20514
- proto: udp
port: 514
- proto: tcp
port: 6514
rsyslog_outputs: []
roles:
- rsyslog_common
- rsyslog_collector
- hosts: all,!log.adm.auro.re,!unifi
vars:
rsyslog_outputs:
- proto: relp
address: 10.128.0.241
port: 20514
roles:
- rsyslog_common
...