6ced4627bd
Pin ansible-lint<6.5 for now due to the https://github.com/ansible/ansible-lint/issues/2320 regression which ignores our skip tags. Also add the zuul.d directory to the list of directories to avoid linting, since those YAML files aren't Ansible files and it doesn't seem to know not to try parsing them anyway. While we're here, "fix" a task name not starting with an upper-case letter, which for some reason ansible-lint now seems to think is important. If we decide to continue using ansible-lint, it's probably going to persist in complaining about that. Change-Id: I46826210dfa4442af5c36d1439d1a1047ca0ba90
25 lines
523 B
Plaintext
25 lines
523 B
Plaintext
exclude_paths:
|
|
- playbooks/legacy
|
|
- zuul.d
|
|
parseable: true
|
|
# [204] Lines < 160
|
|
# [301] Commands should not change things if nothing needs doing
|
|
# [306] shells with pipe should use pipe
|
|
# [108] role names have "-"
|
|
# [208] file permissions not mentioned
|
|
skip_list:
|
|
- '204'
|
|
- '301'
|
|
- '306'
|
|
- '106'
|
|
- '208'
|
|
- fqcn-builtins # needs a lot of work
|
|
- yaml[line-length] # we use good taste with long lines
|
|
- yaml[truthy] # "yes" is ok
|
|
use_default_rules: true
|
|
verbosity: 1
|
|
|
|
# Local variables:
|
|
# mode: yaml
|
|
# End:
|