Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/ansiblelint/utils.py: Ensure that the role file is not a file (#1522
) If a role contains something like a file called roles/.gitkeep, ansible-lint will classify it as a role while it has no chance to be a role (since it's a file). Add a check in _extend_with_roles() to avoid linting files as a role. Signed-off-by: Arnaud Patard <apatard@hupstream.com>
- Loading branch information