mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 07:48:33 +01:00
fix: various rsyslog deploy problems
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
apt:
|
||||
pkg:
|
||||
- rsyslog
|
||||
- rsyslog-pgsql
|
||||
state: present
|
||||
|
||||
- name: Install rsyslog psql on master
|
||||
@@ -12,6 +11,13 @@
|
||||
state: present
|
||||
when: monitoring_master
|
||||
|
||||
- name: Ensure no rsyslog psql on non-master
|
||||
apt:
|
||||
pkg:
|
||||
- rsyslog-pgsql
|
||||
state: absent
|
||||
when: not monitoring_master
|
||||
|
||||
- name: Rsyslog Main config
|
||||
template:
|
||||
src: rsyslog.conf.j2
|
||||
|
||||
Reference in New Issue
Block a user