Skip to content

ansible-test sanity ignore files should accept wildcard #74398

Description

@goneri

Summary

Hi!,

The maintenance of the ignore files of ansible-test sanity is time consuming. The fact we need to add multiple lines for each modules is annoying and can certainly be improved.

For instance vmware.vmware_rest does not support Python < 3.6. It would be great if we can just globally disable some tests like compile-2.6 of import-2.7. Instead we need to add 4 lines for each modules.
As a result, the ignore files are really long and it's hard to identify what is relevant and what should actually be addressed.

e.g: https://github.com/ansible-collections/vmware.vmware_rest/tree/main/tests/sanity is more than 100Kb of ignore files

kubernetes.core, amazon.aws, community.aws will switch to Python3 during the next weeks. They will face the same constraints.

Issue Type

Feature Idea

Component Name

ansible-test

Ansible Version

$ ansible --version

Configuration

$ ansible-config dump --only-changed
a

OS / Environment

any

Steps to Reproduce

ansible-test sanity

Expected Results

Shorter ignore files.

Actual Results

Long ignore files.

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects_2.12featureThis issue/PR relates to a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions