mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
This patch modifies configuration of both ansible-lint and yamllint to check for more rules, resulting in a more strict verification. For ansible-lint verification of errors 301, 305 and 505 are skipped, due to false positives. For the same reason, 'experimental' rules are skipped. ansible-lint error 306 is skipped since the fix is to set pipefail, which is not available in all shells (for example dash, which runs ansible-freeipa CI). Yamllint disabled rules (comments, and indentation) would introduce a huge amount of small changes, and are left for future changes, it deemed necessary.
31 lines
573 B
Plaintext
31 lines
573 B
Plaintext
---
|
|
exclude_paths:
|
|
- .ansible-freeipa-tests/
|
|
- .cache/
|
|
- .github/
|
|
- .pre-commit-config.yaml
|
|
- .tox/
|
|
- .venv/
|
|
- .yamllint
|
|
- molecule/
|
|
- tests/azure/
|
|
- meta/runtime.yml
|
|
|
|
kinds:
|
|
- playbook: '**/tests/**/test_*.yml'
|
|
- playbook: '**/playbooks/**/*.yml'
|
|
|
|
parseable: true
|
|
|
|
quiet: false
|
|
|
|
skip_list:
|
|
- '301' # Commands should not change things if nothing needs doing'
|
|
- '305' # Use shell only when shell functionality is required
|
|
- '306' # risky-shell-pipe
|
|
- yaml # yamllint should be executed separately.
|
|
|
|
use_default_rules: true
|
|
|
|
verbosity: 1
|