From 0519f8dc1cf59c0460a266b5061968e7d862d9cd Mon Sep 17 00:00:00 2001 From: Benjamin Graillot <graillot@crans.org> Date: Fri, 31 Jan 2020 16:31:51 +0100 Subject: [PATCH] [rsyslog-client] Do not send thot's logs to thot --- base.yml | 2 +- roles/rsyslog-client/tasks/main.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/base.yml b/base.yml index 9a663266..99ab3caf 100644 --- a/base.yml +++ b/base.yml @@ -84,7 +84,7 @@ - nullmailer # Send logs to thot -- hosts: server +- hosts: server,!thot.adm.crans.org vars: rsyslog: server: thot.adm.crans.org diff --git a/roles/rsyslog-client/tasks/main.yml b/roles/rsyslog-client/tasks/main.yml index 594ef6bd..64c32171 100644 --- a/roles/rsyslog-client/tasks/main.yml +++ b/roles/rsyslog-client/tasks/main.yml @@ -1,11 +1,11 @@ --- -- name: Deploy quagga debian configuration +- name: Deploy rsyslog config template: src: rsyslog.d/50-send_relp.conf.j2 dest: /etc/rsyslog.d/50-send_relp.conf mode: 0640 - owner: quagga - group: quagga + owner: root + group: root - name: Create spool directory file: