Skip to content

fix: skip_list with sub-rules no longer skips entire rule#4955

Merged
ssbarnea merged 1 commit intoansible:mainfrom
emmanuel-ferdman:fix-skip-subrule
Feb 10, 2026
Merged

fix: skip_list with sub-rules no longer skips entire rule#4955
ssbarnea merged 1 commit intoansible:mainfrom
emmanuel-ferdman:fix-skip-subrule

Conversation

@emmanuel-ferdman
Copy link
Copy Markdown
Contributor

PR Summary

Adding a sub-rule like yaml[trailing-spaces] to skip_list was skipping all yaml checks instead of just that one. This was a regression from PR #4892 where the skip filtering got lost during the tags refactor. The rule now runs and only the specific sub-rule matches get filtered out.

Fixes #4952.
Fixes #4040.

@ssbarnea ssbarnea enabled auto-merge (squash) February 10, 2026 14:28
@ssbarnea ssbarnea merged commit b49c79e into ansible:main Feb 10, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

yaml checks are skipped skip_list skips everything

3 participants