rsyslog: move variables in playbook
This commit is contained in:
parent
b3f25e2c8b
commit
74871c1ea8
3 changed files with 17 additions and 16 deletions
|
@ -102,9 +102,4 @@ borg_backup_exclude:
|
|||
borg_encryption_passphrase: "{{ vault_borg_encryption_passphrase }}"
|
||||
|
||||
borg_server_host: 10.128.0.4
|
||||
|
||||
rsyslog_outputs:
|
||||
- proto: relp
|
||||
address: 10.128.0.241
|
||||
port: 20514
|
||||
...
|
||||
|
|
|
@ -3,14 +3,4 @@ borg_backup_directories:
|
|||
- "/etc/"
|
||||
- "/var/"
|
||||
borg_backup_exclude: []
|
||||
|
||||
rsyslog_collector_base_dir: /var/log/remote
|
||||
rsyslog_inputs:
|
||||
- proto: relp
|
||||
port: 20514
|
||||
- proto: udp
|
||||
port: 514
|
||||
- proto: tcp
|
||||
port: 6514
|
||||
rsyslog_outputs: []
|
||||
...
|
||||
|
|
|
@ -1,10 +1,26 @@
|
|||
#!/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,!unifi
|
||||
- hosts: all,!log.adm.auro.re,!unifi
|
||||
vars:
|
||||
rsyslog_outputs:
|
||||
- proto: relp
|
||||
address: 10.128.0.241
|
||||
port: 20514
|
||||
roles:
|
||||
- rsyslog_common
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue