Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that the role file is not a file #1522

Merged
merged 1 commit into from Apr 8, 2021
Merged

Commits on Apr 7, 2021

  1. src/ansiblelint/utils.py: Ensure that the role file is not a file

    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>
    apatard committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    a48e53f View commit details
    Browse the repository at this point in the history