Fix some linter issues

This commit is contained in:
jeltz 2021-03-13 05:05:30 +01:00
parent f45cd77510
commit 637b74a2ad
3 changed files with 4 additions and 3 deletions

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