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

change: add file: Lintable argument to <rule_class>.match{,task} methods #1535

Commits on Apr 20, 2021

  1. change: add 'file: Lintable' argument to BaseRule.matchtask method

    Add 'file: Lintable' argument to matchtask method of the rule classes
    which is None by default, because there are cases that it is necessary
    to do some analyses depends on the context, that is, file: Lintable,
    like the followings.
    
    - want to restrict tasks in 'main.yml' use include_tasks only
    - want to restrict the level of inclusions with include_tasks to 2
    
    Signed-Off-By: Satoru SATOH <satoru.satoh@gmail.com>
    ssato committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    98e8e06 View commit details
    Browse the repository at this point in the history