0eaa5cf59a
- bumps ansible-lint to 5.0 - updates our custom rules to make them compatible with 5.0 - replace custom module mocking with native ansible-lint ones - remove custom call of ansible-playbook --syntax-check as now this is done by ansible-lint - assured molecule vars are hosted under a vars/ folder in order to avoid confusing linter detection. - replaced custom rule for loop var names in role as now this this an optional core feature of the linter (see config) - replaced custom rule no-same-owner with opt-in one (see config) Change-Id: I233fae8c9036d295968a97ee80e07fde8846c633
19 lines
545 B
Plaintext
19 lines
545 B
Plaintext
exclude_paths:
|
|
- test-playbooks/ # TODO(ssbarnea): remove skip in follow-up
|
|
parseable: true
|
|
quiet: false
|
|
skip_list:
|
|
- meta-no-info # No 'galaxy_info' found
|
|
- no-changed-when # Commands should not change things if nothing needs doing
|
|
- no-tabs # Most files should not contain tabs
|
|
- role-name # Role name does not match ``^[a-z][a-z0-9_]+$`` pattern
|
|
use_default_rules: true
|
|
verbosity: 1
|
|
mock_modules:
|
|
- zuul_console
|
|
- zuul_return
|
|
loop_var_prefix: zj_
|
|
# Enable rules that are disabled by default:
|
|
enable_list:
|
|
- no-same-owner
|