Browse Source

Ignore 2 ansible-lint rules (E204, E701) on purpose. (#4744)

pull/4791/head
MarkusTeufelberger 5 years ago
committed by Kubernetes Prow Robot
parent
commit
5ba169a612
1 changed files with 14 additions and 2 deletions
  1. 16
      .ansible-lint

16
.ansible-lint

@ -3,11 +3,23 @@ parseable: true
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.
- '204'
# These either still need to be corrected in the repository and the rules re-enabled or documented why they are skipped on purpose.
- '301'
- '305'
- '306'
- '404'
- '503'
# These rules are intentionally skipped:
#
# [E204]: "Lines should be no longer than 160 chars"
# This could be re-enabled with a major rewrite in the future.
# For now, there's not enough value gain from strictly limiting line length.
# (Disabled in May 2019)
- '204'
# [E701]: "meta/main.yml should contain relevant info"
# Roles in Kubespray are not intended to be used/imported by Ansible Galaxy.
# While it can be useful to have these metadata available, they are also available in the existing documentation.
# (Disabled in May 2019)
- '701'
Loading…
Cancel
Save