diff --git a/log.yml b/log.yml index fb8db3d..e63f59a 100644 --- a/log.yml +++ b/log.yml @@ -3,7 +3,7 @@ roles: - rsyslog_collector -- hosts: all +- hosts: all,!unifi roles: - rsyslog_common ... diff --git a/roles/docker/templates/update-motd.d/05-service.j2 b/roles/docker/templates/update-motd.d/05-service.j2 deleted file mode 100755 index ce5faaa..0000000 --- a/roles/docker/templates/update-motd.d/05-service.j2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# {{ ansible_managed }} -echo "> Les recettes Docker-compose se trouvent dans /var/local/ansible-docker" diff --git a/roles/nginx/templates/update-motd.d/05-service.j2 b/roles/nginx/templates/update-motd.d/05-service.j2 deleted file mode 100755 index c52c655..0000000 --- a/roles/nginx/templates/update-motd.d/05-service.j2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/tail +14 -{{ ansible_managed | comment }} -> NGINX a été déployé sur cette machine. Voir /etc/nginx/. diff --git a/roles/re2o_service/templates/update-motd.d/05-service.j2 b/roles/re2o_service/templates/update-motd.d/05-service.j2 deleted file mode 100755 index 4ed8a74..0000000 --- a/roles/re2o_service/templates/update-motd.d/05-service.j2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# {{ ansible_managed }} -echo "✨ Le service re2o {{ service_name }} est dans {{ service_homedir }}/{{ service_name }}" diff --git a/roles/rsyslog_collector/templates/20-collector.conf.j2 b/roles/rsyslog_collector/templates/20-collector.conf.j2 index 897945f..e8b277f 100644 --- a/roles/rsyslog_collector/templates/20-collector.conf.j2 +++ b/roles/rsyslog_collector/templates/20-collector.conf.j2 @@ -52,3 +52,6 @@ input( ruleset="handleIncomingLogs" ) {% endfor %} + +# Store local logs too +call handleIncomingLogs diff --git a/roles/unifi_controller/templates/update-motd.d/05-service.j2 b/roles/unifi_controller/templates/update-motd.d/05-service.j2 deleted file mode 100755 index b768773..0000000 --- a/roles/unifi_controller/templates/update-motd.d/05-service.j2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# {{ ansible_managed }} -echo "> Le contrôleur Unifi a été déployé sur cette machine."