79575691

Date: 2025-04-15 17:12:39
Score: 1
Natty:
Report link

You were already on the right track and found the detailed configuration file but missed the global one. ;-)

.ansible-lint does what you asked for: Exclude rules (tags) for all files.

There are other options of potential interest to you, like excluding specific paths from linting.

See the chapter Ansible-lint configuration in the docs.

Here's an example for skipping a few rules for all files:

# .ansible-lint
skip_list:  # or 'warn_list' to print warnings
  - experimental  # all rules tagged as experimental
  - var-spacing
  - unnamed-task

HTH, Uwe

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uwe