mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Failing to identify task files included by playbooks raised false positives when runnnig ansible lint. This change force ansible-lint to correctly identify YAML files named "env_*.yml" or "tasks_*.yml" as task files that are imported by other playbooks, and treat them accordingly.
33 lines
627 B
Plaintext
33 lines
627 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'
|
|
- tasks: '**/tasks_*.yml'
|
|
- tasks: '**/env_*.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
|