ansible/.yamllint.yaml
Ryan Lerch 127d7c3269 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>
2026-02-26 08:59:38 +00:00

30 lines
555 B
YAML

---
extends: default
rules:
comments:
min-spaces-from-content: 1
level: error
comments-indentation: false
braces:
max-spaces-inside: 1
document-start:
level: error
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
indentation:
spaces: 2
indent-sequences: whatever
level: warning
line-length: disable
# line-length:
# max: 100
# level: warning
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
ignore:
- '*/templates/*'
- '*/openshift-apps/*/templates/*'
...