ansible-lint: Add exception for invocation of "rm" (#4609)
parent
38af93b60c
commit
9335cdcebc
|
@ -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'
|
||||
|
|
|
@ -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) }}"
|
||||
|
|
Loading…
Reference in New Issue