Centralisation des journaux (pas encore Elastic) #40
3 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@ skip_list:
|
||||||
- no-changed-when
|
- no-changed-when
|
||||||
- load-failure
|
- load-failure
|
||||||
- document-start
|
- document-start
|
||||||
|
- meta-no-info
|
||||||
|
|
||||||
warn_list:
|
warn_list:
|
||||||
- experimental # all rules tagged as experimental
|
- experimental # all rules tagged as experimental
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name: rsyslog-relp
|
name: rsyslog-relp
|
||||||
state: latest
|
state: present
|
||||||
when: "rsyslog_inputs | selectattr('proto', 'eq', 'relp') | list"
|
when: "rsyslog_inputs | selectattr('proto', 'eq', 'relp') | list"
|
||||||
|
|
||||||
- name: Ensure log storage directory exists
|
- name: Ensure log storage directory exists
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name: rsyslog
|
name: rsyslog
|
||||||
state: latest
|
state: present
|
||||||
|
|
||||||
- name: Install rsyslog modules if needed
|
- name: Install rsyslog modules if needed
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item.pkg }}"
|
name: "{{ item.pkg }}"
|
||||||
state: latest
|
state: present
|
||||||
when: "rsyslog_outputs | selectattr('proto', 'eq', item.proto) | list"
|
when: "rsyslog_outputs | selectattr('proto', 'eq', item.proto) | list"
|
||||||
loop:
|
loop:
|
||||||
- proto: relp
|
- proto: relp
|
||||||
|
|
Loading…
Reference in a new issue