Browse Source

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

pull/4338/head
MarkusTeufelberger 5 years ago
committed by Kubernetes Prow Robot
parent
commit
9335cdcebc
2 changed files with 1 additions and 2 deletions
  1. 2
      .ansible-lint
  2. 1
      contrib/dind/roles/dind-host/tasks/main.yaml

2
.ansible-lint

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

1
contrib/dind/roles/dind-host/tasks/main.yaml

@ -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…
Cancel
Save