system-config/.ansible-lint
Monty Taylor 2513a1b519 Go back to using find with ansible-lint
ansible-lints ability to find ansible files is less than
good. Go back to find - but leave the config in the .ansible-lint
file since that does clean up the command invocation.

While we're there - turn off quiet - let's be loud.

Change-Id: Ie495e3d9ff1b82e84069e07c60c7217fc8399a1c
2020-03-11 16:30:33 -05:00

40 lines
1.2 KiB
Plaintext

parseable: true
# ANSIBLE0010: Package installs should not use latest
# We often deploy latest pip packages
#
# 204: Lines < 160
# Things like keys, script lines, etc exceed this. We have good
# taste and only use long lines where appropriate.
#
# 206: {{var}} should have spaces {{ var }}
# This rule seems sane, but it appears there's no way to convince
# ansible-lint perfectly good things that are *not* ansible (like
# exim configs) in YAML shouldn't have to follow this rule. See
# https://github.com/ansible/ansible-lint/issues/534; might be able
# to turn on if fixed.
#
# 306: shells with pipes should use pipefail
# This requires running the shell as /bin/bash. There is a small
# possibility to hide errors, but we can rely on
# developers to decide when to explicitly check for failures.
#
# 503: tasks that run when "changed" should likely be handlers
# We can trust reviewers to decide if something should be a
# generic handler or not.
skip_list:
- ANSIBLE0004
- ANSIBLE0006
- ANSIBLE0007
- ANSIBLE0010
- ANSIBLE0011
- ANSIBLE0012
- ANSIBLE0013
- ANSIBLE0015
- '204'
- '206'
- '304'
- '306'
- '503'
use_default_rules: true
verbosity: 1