-
Notifications
You must be signed in to change notification settings - Fork 665
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
RHEL (EL) platform only allows versions '6.1', '7.1', '7.2', 'all' #3911
Comments
@Yannik Please make a PR to add the missing versions. |
@ssbarnea I can see the EL platform and the correct versions here:
I think there must be some bug internal to ansible-lint. |
@Yannik In fact this means that you are using a very old version of the linter: Closing as unable to reproduce. Be sure that you add quotes to avoid using an 'integer'. |
@ssbarnea As stated in the OP, I am using the most recent versions: Do you have any idea what could be causing this? |
problem could not be limited just to RHEL? have got this with "Debian" |
Summary
Using the RHEL (
EL
) platform inmeta/main.yml
leads to aschema[meta]
rule failure.Issue Type
OS / ENVIRONMENT
ansible-lint 6.22.0 using ansible-core:2.15.1 ansible-compat:4.1.10 ruamel-yaml:0.18.5 ruamel-yaml-clib:0.2.8
STEPS TO REPRODUCE
Create a
meta/main.yml
with this content:Running
ansible-lint
will result in anschema[meta]
error:schema[meta]: $.galaxy_info.platforms[0].versions[0] 9 is not one of ['6.1', '7.1', '7.2', 'all']. See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#using-role-dependencies
Desired Behavior
No failure.
Actual Behavior
The text was updated successfully, but these errors were encountered: