Replies: 1 comment 1 reply
-
This can be achieved with: docs/lint/configuring/#ignoring-rules-for-entire-files (but note #3068). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a couple of places I've wanted to be able to exclude some lint rules from applying to an entire file.
e.g.
name[play]
where the entire playbook consists of nothing but- import_playbook: some-playbook.yml
.I have looked at the documentation and found no such feature.
rudimentary ideas I've come up with so far:
allowing
skip_list[_by_path]
e.g. in
.ansbile-lint
in-file
noqa[-file]
blocke.g. at or near the top of a file:
Beta Was this translation helpful? Give feedback.
All reactions