project-config/.ansible-lint
Clark Boylan b6ff3078dc Stop linting zuul-jobs from here
When we run ansible-lint on project-config the tool is finding and
reporting errors in zuul-jobs. Zuul-jobs appears to be included to
ensure that all the roles we use are defined, but we don't want to lint
the content of those roles.

To address this we add ../../zuul to the ansible lint exclude path which
includes zuul-jobs.

Change-Id: Ie9aeca81ba4fb95df0e7e1ee275230378e49b741
2021-03-19 08:18:44 -07:00

19 lines
658 B
Plaintext

exclude_paths:
- zuul.d/
- grafana/
- nodepool/
- ../../opendev
- ../../zuul
parseable: true
quiet: false
skip_list:
- '106' # Role name does not match ``^[a-z][a-z0-9_]+$`` pattern
- '204' # [E204] Lines should be no longer than 120 chars
# TODO(AJaeger): E208 gives false positives currently, we
# should enable it once all issues in zuul-jobs and
# ansible-lint are fixed.
- '208' # File permissions not mentioned
- '301' # [E301] Commands should not change things if nothing needs doing
- '306' # [E306] Shells that use pipes should set the pipefail option
verbosity: 1