Skip to content
Snippets Groups Projects
Commit 0efe2c30 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

ansible-lint: Identify env_*.yml and tasks_*.yml as task files.

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.
parent 9b020a56
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ exclude_paths:
kinds:
- playbook: '**/tests/**/test_*.yml'
- playbook: '**/playbooks/**/*.yml'
- tasks: '**/tasks_*.yml'
- tasks: '**/env_*.yml'
parseable: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment