Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
In current ansible-core versions, there is a bug where
skip
as a kwarg forfirst_found
isn't working properly. This is being fixed in ansible/ansible#82836 but won't release for around 5 weeks from now.In the meantime, the bug can be worked around by using the complex/mapping format for
first_found
and includingskip: True
there.This PR also removes the
<project_path>/requirements.yml
paths from consideration ascollection
requirements that was incorrectly added as part of 4286d41. It's not clearly documented what the expectation of this file is, and I'm not going to address that here. However, the project rootrequirements.yml
was originally a v1/old formatted file only including roles, and was expanded to allow collections, but this doesn't require it be v2/new formatted, and the agnostic install subcommand works with both, but thecollections install
subcommand does not work with both.ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION
->