1
0
Fork 0
forked from infra/ansible

get yamllint to ignore templates in openshift apps

previously, the yamllint ingores for templates only worked for roles one
level down. Since our openshift apps are nested in the openshift-apps
directory, yamllint was trying to lint jinja templates with a .yml
extension. This updates the yamllint ignores to include templates in
openshift apps roles.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lerch 2026-02-25 09:41:31 +10:00 committed by Michal Konečný
commit 127d7c3269

View file

@ -26,4 +26,5 @@ rules:
ignore:
- '*/templates/*'
- '*/openshift-apps/*/templates/*'
...