Fix some linter issues
This commit is contained in:
parent
f45cd77510
commit
637b74a2ad
3 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@ skip_list:
|
|||
- no-changed-when
|
||||
- load-failure
|
||||
- document-start
|
||||
- meta-no-info
|
||||
|
||||
warn_list:
|
||||
- experimental # all rules tagged as experimental
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue