Skip to content
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

Detect role argument_specs files as a lintable kind #2091

Merged
merged 1 commit into from May 3, 2022

Conversation

ziegenberg
Copy link
Contributor

@ziegenberg ziegenberg commented May 1, 2022

…based on argument specification

Beginning with Ansible version 2.11 role argument validation based on an argument specification was introduced. This specification is defined in the meta/argument_specs.yml file of a role.

This change enables the linter to detect this new format and for it to be used in future rules.

Fixes: #1688
Relates to: #1966

…based on argument specification

Beginning with ansible version 2.11 role argument validation based on an
argument specification was introduced. This specification is defined in
the meta/argument_specs.yml file of a role.

This change enables the linter to detect this new format and for it to
be used in future rules.

Fixes: ansible#1688
Relates: ansible#1966

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg ziegenberg force-pushed the fix-1688-add-kind-arg-specs branch from f18aee2 to 91e3016 Compare May 1, 2022 22:19
@ziegenberg ziegenberg changed the title add new default lintable kind arg_specs for role argument validation … Add new default lintable kind arg_specs for role argument validation … May 1, 2022
@ssbarnea ssbarnea added skip-changelog Can be missed from the changelog. bug and removed skip-changelog Can be missed from the changelog. labels May 3, 2022
@ssbarnea ssbarnea changed the title Add new default lintable kind arg_specs for role argument validation … Detect role argument_specs files as a lintable kind May 3, 2022
@ssbarnea ssbarnea merged commit 6ffd7a8 into ansible:main May 3, 2022
@ziegenberg ziegenberg deleted the fix-1688-add-kind-arg-specs branch May 3, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meta/argument_specs.yml in a role is treated as a playbook
2 participants