Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid duplicating molecule requirements.yml files (#1521)
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> Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
- Loading branch information
Showing
1 changed file
with
48 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters