ansible-lint: Add exception for invocation of "rm" (#4609)
This commit is contained in:
parent
38af93b60c
commit
9335cdcebc
2 changed files with 1 additions and 2 deletions
|
@ -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 @@
|
||||||
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) }}"
|
||||||
|
|
Loading…
Reference in a new issue