ansible/.yamllint.yaml
Ryan Lerch 0e64c90fea Fix yamllint truthy warnings
- Add .forgejo/workflows/* to ignore list since workflow files use
  GitHub Actions syntax (like 'on:') that doesn't conform to Ansible
  YAML truthy value requirements
- Fix truthy values in vars files to use lowercase 'true'/'false'
  instead of 'True'/'False' to comply with yamllint requirements
2026-08-05 21:27:26 +00:00

31 lines
582 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/*'
- '.forgejo/workflows/*'
...