ansible-lint: Add exception for invocation of "rm" (#4609)

This commit is contained in:
MarkusTeufelberger 2019-04-29 10:34:20 +02:00 committed by Kubernetes Prow Robot
parent 38af93b60c
commit 9335cdcebc
2 changed files with 1 additions and 2 deletions

View file

@ -4,11 +4,9 @@ skip_list:
# see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules
# The following rules throw errors.
# These either still need to be corrected in the repository and the rules re-enabled or they are skipped on purpose.
- '201'
- '204'
- '206'
- '301'
- '302'
- '305'
- '306'
- '404'

View file

@ -79,6 +79,7 @@
with_items: "{{ containers.results }}"
- name: Early hack image install to adapt for DIND
# noqa 302 - this task uses the raw module intentionally
raw: |
rm -fv /usr/bin/udevadm /usr/sbin/udevadm
delegate_to: "{{ item._ansible_item_label|default(item.item) }}"