Skip to content
Snippets Groups Projects
Commit 9335cdce authored by MarkusTeufelberger's avatar MarkusTeufelberger Committed by Kubernetes Prow Robot
Browse files

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

parent 38af93b6
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,9 @@ skip_list: ...@@ -4,11 +4,9 @@ skip_list:
# see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules # see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules
# The following rules throw errors. # 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. # These either still need to be corrected in the repository and the rules re-enabled or they are skipped on purpose.
- '201'
- '204' - '204'
- '206' - '206'
- '301' - '301'
- '302'
- '305' - '305'
- '306' - '306'
- '404' - '404'
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
with_items: "{{ containers.results }}" with_items: "{{ containers.results }}"
- name: Early hack image install to adapt for DIND - name: Early hack image install to adapt for DIND
# noqa 302 - this task uses the raw module intentionally
raw: | raw: |
rm -fv /usr/bin/udevadm /usr/sbin/udevadm rm -fv /usr/bin/udevadm /usr/sbin/udevadm
delegate_to: "{{ item._ansible_item_label|default(item.item) }}" delegate_to: "{{ item._ansible_item_label|default(item.item) }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment