Centralisation des journaux (pas encore Elastic) #40

Manually merged
jeltz merged 24 commits from logs-first-phase into master 2024-07-01 01:55:28 +02:00
3 changed files with 4 additions and 3 deletions
Showing only changes of commit 637b74a2ad - Show all commits

View file

@ -2,6 +2,7 @@ skip_list:
- no-changed-when
- load-failure
- document-start
- meta-no-info
warn_list:
- experimental # all rules tagged as experimental

View file

@ -3,7 +3,7 @@
become: true
apt:
name: rsyslog-relp
state: latest
state: present
when: "rsyslog_inputs | selectattr('proto', 'eq', 'relp') | list"
- name: Ensure log storage directory exists

View file

@ -3,13 +3,13 @@
become: true
apt:
name: rsyslog
state: latest
state: present
- name: Install rsyslog modules if needed
become: true
apt:
name: "{{ item.pkg }}"
state: latest
state: present
when: "rsyslog_outputs | selectattr('proto', 'eq', item.proto) | list"
loop:
- proto: relp