ci: ansible lint only relevant files

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-05-07 13:43:25 +02:00
parent 1ead7b5d0b
commit b614d5205f
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -16,5 +16,4 @@ repos:
rev: v24.2.3
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
exclude: (templates|files).*$
files: ^.*(defaults|handlers|tasks).*\.(yaml|yml)$