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

Avoid duplicating molecule requirements.yml files #1521

Merged
merged 3 commits into from Apr 19, 2021

Commits on Apr 8, 2021

  1. src/ansiblelint/prerun.py: Avoid duplicating molecule requirements.ym…

    …l files
    
    When running ansible-lint on roles with molecule scenarii, it will
    run syntax-check on the scenarii but won't find the needed roles
    (if any). The current solution is to write a requirements.yml file
    in the top of the directory merging all molecule/*/requirements.yml files
    but it's duplication and create an extra file only to get ansible-lint
    playbook check working.
    As a solution, look for molecule/*/requirements.yml and install
    dependencies from them too.
    
    Signed-off-by: Arnaud Patard <apatard@hupstream.com>
    apatard committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    54f1aac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8599eff View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. Configuration menu
    Copy the full SHA
    fd69963 View commit details
    Browse the repository at this point in the history