-
Notifications
You must be signed in to change notification settings - Fork 664
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
Platforms in meta/main.yml giving false positive #4387
Comments
For reference, here is the corrected list (with a few guesses in the case of unclear versions)
Notable surprises:
Things that are probably not issues:
With that out of the way, the error message is also very bad. It is showing errors from applying the AIX model to anything that fails to validate against any model, likely because they all generate errors and AIX is just the top of the pile. As it exists, the error is almost entirely useless. Ideally, we should like to only show errors where the name passes validation, and if no such error exists for an entry ("Amazon Linux 2" in this instance), mention that there is no model and list the names from valid models. |
I updated to match what you have listed and I no longer get errors. I'm almost certain that all this was valid a few years back when I first created this collection. Not to say things didn't change but, seems odd that specific options would've been removed that should've been fine. |
Summary
In a roles
meta/main.yml
file undergalaxy_info.platform
versions is not linting correctly. Looking at the schema it seems no matter what you're listing under the platform key it's always matching the first item in the schema list.Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Desired Behavior
Validation should be correct despite the order and which OSes are specified.
Possible security bugs should be reported via email to
[email protected]
Actual Behavior
Validation is failing by only matching the first item in the schema to the first time in the list.
The text was updated successfully, but these errors were encountered: