ansible/playbooks/rsyslog.yml

27 lines
501 B
YAML
Raw Normal View History

2021-11-22 18:12:27 +01:00
#!/usr/bin/env ansible-playbook
2021-03-01 01:29:16 +01:00
---
- hosts: log.adm.auro.re
2021-11-28 17:09:16 +01:00
vars:
rsyslog_collector_base_dir: /var/log/remote
rsyslog_inputs:
- proto: relp
port: 20514
- proto: udp
port: 514
- proto: tcp
port: 6514
rsyslog_outputs: []
2021-03-01 01:29:16 +01:00
roles:
2021-11-28 17:09:16 +01:00
- rsyslog_common
2021-03-01 01:29:16 +01:00
- rsyslog_collector
2021-11-28 17:09:16 +01:00
- hosts: all,!log.adm.auro.re,!unifi
vars:
rsyslog_outputs:
- proto: relp
address: 10.128.0.241
port: 20514
roles:
- rsyslog_common
2021-03-01 01:29:16 +01:00
...