-
Notifications
You must be signed in to change notification settings - Fork 705
Open
Description
Summary
In an Ansible collection, Ansible Lint is detecting the meta/execution-environment.yml
file as an Execution Environment definition when it is actually collection level metadata.
Please see below for context:
- Ansible Lint Compatibility ansible-collections/collection_template#89 (comment)
- Ansible Lint Compatibility ansible-collections/collection_template#89
Issue Type
- Bug Report
OS / ENVIRONMENT
❯ uv run ansible-lint --version
ansible-lint 25.7.0 using ansible-core:2.19.0 ansible-compat:25.6.0 ruamel-yaml:0.18.14 ruamel-yaml-clib:0.2.12
- ansible installation method: pip
- ansible-lint installation method: pip
STEPS TO REPRODUCE

Desired Behavior
Ansible Lint does not detect this file as an Execution Environment Definition and does not raise the below error.
Actual Behavior
schema[execution-environment]: $ 'version' is a required property. See https://ansible-builder.readthedocs.io/en/latest/definition/
meta/execution-environment.yml:1
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress