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 - 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

View file

@ -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

View file

@ -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