16 lines
301 B
YAML
Executable File
16 lines
301 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# tealc is the log server.
|
|
# Servers need to send their logs to tealc.
|
|
|
|
# Send logs to tealc
|
|
- hosts: server,!tealc.adm.crans.org
|
|
vars:
|
|
rsyslog:
|
|
server: 172.16.10.1
|
|
roles: ["rsyslog-client"]
|
|
|
|
- hosts: tealc.adm.crans.org
|
|
roles:
|
|
- rsyslog-server
|